OpenVAS Libraries
8.0.8
|
#include <string.h>
#include <stdlib.h>
#include <glib.h>
#include "arglists.h"
#include "openvas_logging.h"
Data Structures | |
struct | name_cache |
Struct to cache names (keys) of arglist entries. More... | |
Macros | |
#define | HASH_MAX 2713 |
Functions | |
if (arglst!=NULL) | |
int | arg_get_value_int (struct arglist *args, const char *name) |
else | return (args->value) |
if (!args) | |
while (args->next) | |
while (pivot->next!=NULL) | |
if (args==element) | |
arg_free (element) | |
Variables | |
void struct arglist * | arglst = arglst->next |
const char * | name = cache_inc (name) |
int | type = type |
void * | value = value |
arglst | next = g_malloc0 (sizeof (struct arglist)) |
arglst | hash = mkhash (arglst->name) |
else | return |
void *struct arglist * | args = arg_get (args, name) |
return | NULL |
int | level |
void struct arglist * | arg |
struct arglist * | pivot |
struct arglist * | element = NULL |
struct arglist | store |
else | |
#define HASH_MAX 2713 |
arg_free | ( | element | ) |
int arg_get_value_int | ( | struct arglist * | args, |
const char * | name | ||
) |
if | ( | arglst! | = NULL | ) |
if | ( | ! | args | ) |
while | ( | args-> | next | ) |
void struct arglist* arg |
else |
int level |
const char * name = cache_inc (name) |
return NULL |
else return |
struct arglist store |
arglst type = type |
void * value = value |