Icinga-core 1.4.0
next gen monitoring
module/idoutils/include/utils.h File Reference

Go to the source code of this file.

Data Structures

struct  ido_dbuf_struct

Defines

#define my_free(ptr)   do { if(ptr) { free(ptr); ptr = NULL; } } while(0)

Typedefs

typedef struct ido_dbuf_struct ido_dbuf

Functions

int ido_dbuf_init (ido_dbuf *, int)
int ido_dbuf_free (ido_dbuf *)
int ido_dbuf_strcat (ido_dbuf *, char *)
int my_rename (char *, char *)
void idomod_strip (char *)

Define Documentation

#define my_free (   ptr)    do { if(ptr) { free(ptr); ptr = NULL; } } while(0)

Definition at line 13 of file utils.h.


Typedef Documentation

typedef struct ido_dbuf_struct ido_dbuf

Function Documentation

int ido_dbuf_free ( ido_dbuf )

Definition at line 36 of file utils.c.

int ido_dbuf_init ( ido_dbuf ,
int   
)

Definition at line 21 of file utils.c.

int ido_dbuf_strcat ( ido_dbuf ,
char *   
)

Definition at line 52 of file utils.c.

void idomod_strip ( char *  )

Definition at line 163 of file utils.c.

int my_rename ( char *  ,
char *   
)

Definition at line 3388 of file utils.c.

 All Data Structures Files Functions Variables Typedefs Defines