OpenVAS Libraries  6.0+beta5
Functions
strutils.h File Reference
#include <sys/types.h>

Go to the source code of this file.

Functions

char * nasl_strndup (char *, int)
 
int str_match (const char *, const char *, int)
 
void * nasl_memmem (const void *, size_t, const void *, size_t)
 Slow replacement for memmem. More...
 

Function Documentation

void* nasl_memmem ( const void *  ,
size_t  ,
const void *  ,
size_t   
)

Slow replacement for memmem.

char* nasl_strndup ( char *  str,
int  length 
)
Todo:
These functions are not necessarily nasl-specific and thus subject to be moved (e.g. to misc).
int str_match ( const char *  string,
const char *  pattern,
int  icase 
)
Todo:
In parts replacable by g_pattern_match function (when not icase)