libopm  0.1
Macros | Functions | Variables
test.c File Reference
#include "setup.h"
#include <stdio.h>
#include "opm.h"
#include "opm_error.h"
#include "opm_types.h"
#include "compat.h"
#include <unistd.h>

Macros

#define ARRAY_SIZEOF(x)   (sizeof(x) / sizeof((x)[0]))
 

Functions

void open_proxy (OPM_T *, OPM_REMOTE_T *, int, void *)
 
void negotiation_failed (OPM_T *, OPM_REMOTE_T *, int, void *)
 
void timeout (OPM_T *, OPM_REMOTE_T *, int, void *)
 
void end (OPM_T *, OPM_REMOTE_T *, int, void *)
 
void handle_error (OPM_T *, OPM_REMOTE_T *, int, void *)
 
int main (int argc, char **argv)
 

Variables

int complete = 0
 

Macro Definition Documentation

#define ARRAY_SIZEOF (   x)    (sizeof(x) / sizeof((x)[0]))

Referenced by main().

Function Documentation

void open_proxy ( OPM_T scanner,
OPM_REMOTE_T remote,
int  notused,
void *  data 
)
void negotiation_failed ( OPM_T scanner,
OPM_REMOTE_T remote,
int  notused,
void *  data 
)
void timeout ( OPM_T scanner,
OPM_REMOTE_T remote,
int  notused,
void *  data 
)

References _OPM_REMOTE::ip, _OPM_REMOTE::port, and USE_VAR.

Referenced by main(), and opm_cycle().

void end ( OPM_T scanner,
OPM_REMOTE_T remote,
int  notused,
void *  data 
)

References complete, _OPM_REMOTE::ip, opm_remote_free(), and USE_VAR.

Referenced by main().

void handle_error ( OPM_T scanner,
OPM_REMOTE_T remote,
int  err,
void *  data 
)
int main ( int  argc,
char **  argv 
)

Variable Documentation

int complete = 0

Referenced by end(), and main().


Generated for libopm by  doxygen 1.8.11