Defines | Typedefs | Functions
stdafx.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <sys/types.h>
#include <errno.h>
#include <semaphore.h>
#include <time.h>
#include <stdarg.h>
#include <string.h>
#include <pthread.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <arpa/nameser.h>
#include <netdb.h>
#include <unistd.h>
#include <sys/time.h>
#include <ctype.h>
#include <math.h>
#include <iconv.h>
#include "clog.h"
#include "pdictclient.h"
#include "cphidget.h"
Include dependency graph for stdafx.h:

Go to the source code of this file.

Defines

#define CCONV
#define CCONV_CDECL
#define INFINITE   0xFFFFFFFF
#define INVALID_SOCKET   -1
#define SLEEP(dlay)   usleep(dlay*1000);
#define STILL_ACTIVE   0x00000103L
#define USE_PHIDGET21_LOGGING
#define WAIT_ABANDONED   0x00000080
#define WAIT_FAILED   0xFFFFFFFF
#define WAIT_OBJECT_0   0x00000000L
#define WAIT_TIMEOUT   258L
#define ZEROMEM(var, size)   memset(var, 0, size);

Typedefs

typedef voidHANDLE
typedef long * LPDWORD
typedef voidOVERLAPPED
typedef int SOCKET
typedef struct timeval TIME

Functions

int hexval (unsigned char c)
double round_double (double x, int decimals)
 void (CCONV *fptrJavaDetachCurrentThread)(void)

Define Documentation

#define CCONV

Definition at line 189 of file stdafx.h.

#define CCONV_CDECL

Definition at line 190 of file stdafx.h.

#define INFINITE   0xFFFFFFFF

Definition at line 197 of file stdafx.h.

#define INVALID_SOCKET   -1

Definition at line 205 of file stdafx.h.

#define SLEEP (   dlay)    usleep(dlay*1000);

Definition at line 191 of file stdafx.h.

#define STILL_ACTIVE   0x00000103L

Definition at line 199 of file stdafx.h.

Definition at line 23 of file stdafx.h.

#define WAIT_ABANDONED   0x00000080

Definition at line 201 of file stdafx.h.

#define WAIT_FAILED   0xFFFFFFFF

Definition at line 203 of file stdafx.h.

#define WAIT_OBJECT_0   0x00000000L

Definition at line 202 of file stdafx.h.

#define WAIT_TIMEOUT   258L

Definition at line 200 of file stdafx.h.

#define ZEROMEM (   var,
  size 
)    memset(var, 0, size);

Definition at line 192 of file stdafx.h.


Typedef Documentation

typedef void* HANDLE

Definition at line 196 of file stdafx.h.

typedef long* LPDWORD

Definition at line 198 of file stdafx.h.

typedef void* OVERLAPPED

Definition at line 209 of file stdafx.h.

typedef int SOCKET

Definition at line 204 of file stdafx.h.

typedef struct timeval TIME

Definition at line 211 of file stdafx.h.


Function Documentation

int hexval ( unsigned char  c)

Definition at line 1063 of file utils.c.

double round_double ( double  x,
int  decimals 
)

Definition at line 1395 of file cphidget.c.

void ( CCONV fptrJavaDetachCurrentThread)


pedal_monitor
Author(s): Pedro Mendes
autogenerated on Fri Jun 6 2014 18:37:22