Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

libopm.c File Reference

#include "setup.h"
#include "config.h"
#include "libopm.h"
#include "malloc.h"
#include "opm_error.h"
#include "opm_types.h"
#include "opm_common.h"
#include "list.h"
#include "inet.h"
#include "proxy.h"
#include <errno.h>
#include <sys/time.h>
#include <time.h>
#include <unistd.h>
#include <string.h>

Functions

OPM_T * opm_create ()
OPM_REMOTE_T * opm_remote_create (const char *ip)
void opm_remote_free (OPM_REMOTE_T *remote)
OPM_ERR_T opm_callback (OPM_T *scanner, int type, OPM_CALLBACK_FUNC *function, void *data)
void opm_free (OPM_T *scanner)
OPM_ERR_T opm_config (OPM_T *scanner, int key, void *value)
OPM_ERR_T opm_addtype (OPM_T *scanner, int type, unsigned short int port)
OPM_ERR_T opm_remote_addtype (OPM_REMOTE_T *remote, int type, unsigned short int port)
OPM_ERR_T opm_scan (OPM_T *scanner, OPM_REMOTE_T *remote)
void opm_end (OPM_T *scanner, OPM_REMOTE_T *remote)
void opm_endscan (OPM_T *scanner, OPM_REMOTE_T *remote)
size_t opm_active (OPM_T *scanner)
void opm_cycle (OPM_T *scanner)

Function Documentation

OPM_T* opm_create (  void   ) 
 

OPM_REMOTE_T* opm_remote_create (  const char *  ip  ) 
 

void opm_remote_free (  OPM_REMOTE_T *  remote  ) 
 

OPM_ERR_T opm_callback (  OPM_T *  scanner,
int  type,
OPM_CALLBACK_FUNC *  function,
void *  data
) 
 

void opm_free (  OPM_T *  scanner  ) 
 

OPM_ERR_T opm_config (  OPM_T *  scanner,
int  key,
void *  value
) 
 

OPM_ERR_T opm_addtype (  OPM_T *  scanner,
int  type,
unsigned short int  port
) 
 

OPM_ERR_T opm_remote_addtype (  OPM_REMOTE_T *  remote,
int  type,
unsigned short int  port
) 
 

OPM_ERR_T opm_scan (  OPM_T *  scanner,
OPM_REMOTE_T *  remote
) 
 

void opm_end (  OPM_T *  scanner,
OPM_REMOTE_T *  remote
) 
 

void opm_endscan (  OPM_T *  scanner,
OPM_REMOTE_T *  remote
) 
 

size_t opm_active (  OPM_T *  scanner  ) 
 

void opm_cycle (  OPM_T *  scanner  ) 
 


Generated for libopm by  doxygen 1.3.9.1