| [Insert name here] Reference Manual |
|---|
uint64_t prelude_ident_inc (prelude_ident_t *ident); uint64_t prelude_ident_dec (prelude_ident_t *ident); void prelude_ident_destroy (prelude_ident_t *ident); prelude_ident_t* prelude_ident_new (const char *filename);
uint64_t prelude_ident_inc (prelude_ident_t *ident);
Increment the ident associated with the prelude_ident_t object.
| ident : | Pointer to a prelude_ident_t object. |
| Returns : | the new ident. |
uint64_t prelude_ident_dec (prelude_ident_t *ident);
Decrement the ident associated with the prelude_ident_t object.
| ident : | Pointer to a prelude_ident_t object. |
| Returns : | the new ident. |
void prelude_ident_destroy (prelude_ident_t *ident);
Destroy a prelude_ident_t object.
| ident : | Pointer to a prelude_ident_t object. |
prelude_ident_t* prelude_ident_new (const char *filename);
Create a new prelude_ident_t object. The current ident is set to 0 if there was no ident associated with this file, or the current ident.
| filename : | Pointer to a filename where the ident should be stored. |
| Returns : | a new prelude_ident_t object, or NULL if an error occured. |
| <<< idmef-msg-send | prelude-client >>> |