OpenVAS Libraries  7.0.9
Data Structures | Macros | Functions
arglists.h File Reference

Go to the source code of this file.

Data Structures

struct  arglist
 
struct  name_cache
 Struct to cache names (keys) of arglist entries. More...
 

Macros

#define ARG_STRING   1
 
#define ARG_PTR   2
 
#define ARG_INT   3
 
#define ARG_ARGLIST   4
 
#define ARG_STRUCT   5
 

Functions

char * cache_inc (const char *name)
 
void cache_dec (const char *name)
 
void arg_add_value (struct arglist *, const char *, int, long, void *)
 
int arg_set_value (struct arglist *, const char *, long, void *)
 
void * arg_get_value (struct arglist *, const char *)
 
int arg_get_type (struct arglist *, const char *)
 
void arg_dump (struct arglist *, int)
 
void arg_dup (struct arglist *, struct arglist *)
 
void arg_free (struct arglist *)
 
void arg_free_all (struct arglist *)
 
void arg_del_value (struct arglist *, const char *name)
 
struct argliststr2arglist (char *str)
 

Macro Definition Documentation

#define ARG_ARGLIST   4
#define ARG_INT   3
#define ARG_PTR   2
#define ARG_STRING   1
#define ARG_STRUCT   5

Function Documentation

void arg_add_value ( struct arglist ,
const char *  ,
int  ,
long  ,
void *   
)
void arg_del_value ( struct arglist ,
const char *  name 
)
void arg_dump ( struct arglist ,
int   
)
void arg_dup ( struct arglist ,
struct arglist  
)
void arg_free ( struct arglist )
void arg_free_all ( struct arglist )
int arg_get_type ( struct arglist ,
const char *   
)
void* arg_get_value ( struct arglist ,
const char *   
)
int arg_set_value ( struct arglist ,
const char *  ,
long  ,
void *   
)
void cache_dec ( const char *  name)
char* cache_inc ( const char *  name)
struct arglist* str2arglist ( char *  str)
read