GNU libmicrohttpd  0.9.29
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
platform.h File Reference

platform-specific includes for libmicrohttpd More...

#include "MHD_config.h"
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <stdarg.h>
#include <errno.h>
#include <fcntl.h>
#include <signal.h>
#include <stddef.h>
Include dependency graph for platform.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _MHD_EXTERN   extern
 
#define _XOPEN_SOURCE_EXTENDED   1
 
#define MHD_POSIX_SOCKETS   1
 
#define MHD_INVALID_SOCKET   (-1)
 
#define MHD_SOCKET_DEFINED   1
 

Typedefs

typedef int MHD_socket
 
typedef int MHD_pipe
 

Detailed Description

platform-specific includes for libmicrohttpd

Author
Christian Grothoff

This file is included by the libmicrohttpd code before "microhttpd.h"; it provides the required standard headers (which are platform-specific).

Note that this file depends on our configure.ac build process and the generated config.h file. Hence you cannot include it directly in applications that use libmicrohttpd.

Definition in file platform.h.

Macro Definition Documentation

#define _MHD_EXTERN   extern

Definition at line 48 of file platform.h.

#define _XOPEN_SOURCE_EXTENDED   1

Definition at line 60 of file platform.h.

#define MHD_INVALID_SOCKET   (-1)

Definition at line 178 of file platform.h.

#define MHD_POSIX_SOCKETS   1

MHD_socket is type for socket FDs

Definition at line 176 of file platform.h.

#define MHD_SOCKET_DEFINED   1

Definition at line 185 of file platform.h.

Typedef Documentation

typedef int MHD_pipe

Definition at line 195 of file platform.h.

typedef int MHD_socket

Definition at line 177 of file platform.h.