30 lines
No EOL
438 B
C
30 lines
No EOL
438 B
C
#ifndef __MMNIF_H__
|
|
#define __MMNIF_H__
|
|
|
|
#ifdef WIN32
|
|
|
|
typedef unsigned char uint8_t;
|
|
typedef unsigned short uint16_t;
|
|
typedef unsigned int uint32_t;
|
|
|
|
typedef char int8_t;
|
|
typedef short int16_t;
|
|
typedef int int32_t;
|
|
|
|
#else
|
|
|
|
#define TRUE 1
|
|
#define FALSE 0
|
|
|
|
#endif
|
|
|
|
/*
|
|
* Initialize the network driver for mmn
|
|
*/
|
|
int mmnif_open();
|
|
int mmnif_close();
|
|
|
|
int mmnif_poll(void* e);
|
|
int mmnif_worker(void* e);
|
|
|
|
#endif |