libopm 0.1
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_Topm_create ()
OPM_REMOTE_Topm_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_create()

◆ opm_remote_create()

◆ opm_remote_free()

◆ opm_callback()

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

◆ opm_free()

◆ opm_config()

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

References _OPM::config, and libopm_config_set().

Referenced by main().

◆ opm_addtype()

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

◆ opm_remote_addtype()

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

◆ opm_scan()

◆ opm_end()

◆ opm_endscan()

◆ opm_active()

size_t opm_active ( OPM_T * scanner)

References LIST_SIZE, _OPM::queue, and _OPM::scans.

◆ opm_cycle()

void opm_cycle ( OPM_T * scanner)

Referenced by main().


Generated for libopm by  doxygen 1.14.0