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 <unistd.h>
#include <stdarg.h>
#include <errno.h>
#include <fcntl.h>
#include <signal.h>
#include <stddef.h>
#include <pthread.h>
Include dependency graph for platform.h:

Go to the source code of this file.

Macros

#define _MHD_EXTERN   extern
 
#define _XOPEN_SOURCE_EXTENDED   1
 
#define HAVE_CONFIG_H   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 43 of file platform.h.

#define _XOPEN_SOURCE_EXTENDED   1

Definition at line 46 of file platform.h.

#define HAVE_CONFIG_H   1

Definition at line 66 of file platform.h.

#define MHD_INVALID_SOCKET   (-1)

Definition at line 143 of file platform.h.

#define MHD_POSIX_SOCKETS   1

MHD_socket is type for socket FDs

Definition at line 141 of file platform.h.

#define MHD_SOCKET_DEFINED   1

Definition at line 150 of file platform.h.

Typedef Documentation

typedef int MHD_pipe

Definition at line 160 of file platform.h.

typedef int MHD_socket

Definition at line 142 of file platform.h.