|
suricata
|
#include "suricata-common.h"#include <ctype.h>#include <locale.h>#include <string.h>#include <time.h>#include <stdint.h>
Go to the source code of this file.
Macros | |
| #define | _ctloc(x) (_CurrentTimeLocale->x) |
| #define | ALT_E 0x01 |
| #define | ALT_O 0x02 |
| #define | LEGAL_ALT(x) { if (alt_format & ~(x)) return NULL; } |
| #define | TIME_MAX INT64_MAX |
Functions | |
| char * | strptime (const char *buf, const char *fmt, struct tm *tm) |
| #define _ctloc | ( | x | ) | (_CurrentTimeLocale->x) |
Definition at line 57 of file util-strptime.c.
| #define ALT_E 0x01 |
Definition at line 63 of file util-strptime.c.
| #define ALT_O 0x02 |
Definition at line 64 of file util-strptime.c.
| #define LEGAL_ALT | ( | x | ) | { if (alt_format & ~(x)) return NULL; } |
Definition at line 65 of file util-strptime.c.
| #define TIME_MAX INT64_MAX |
| char* strptime | ( | const char * | buf, |
| const char * | fmt, | ||
| struct tm * | tm | ||
| ) |
Definition at line 97 of file util-strptime.c.
References ALT_E, ALT_O, and LEGAL_ALT.
Referenced by SCStringPatternToTime().
