syslog-ng source
scan-timestamp.c File Reference
#include "timeutils/scan-timestamp.h"
#include "timeutils/wallclocktime.h"
#include "str-format.h"
#include "timeutils/cache.h"
#include <ctype.h>
#include <string.h>
Include dependency graph for scan-timestamp.c:

Functions

gboolean scan_day_abbrev (const gchar **buf, gint *left, gint *wday)
 
gboolean scan_month_abbrev (const gchar **buf, gint *left, gint *mon)
 
gboolean scan_bsd_timestamp (const gchar **buf, gint *left, WallClockTime *wct)
 
gboolean scan_iso_timestamp (const gchar **buf, gint *left, WallClockTime *wct)
 
gboolean scan_pix_timestamp (const gchar **buf, gint *left, WallClockTime *wct)
 
gboolean scan_linksys_timestamp (const gchar **buf, gint *left, WallClockTime *wct)
 
gboolean scan_iso_timezone (const guchar **data, gint *length, gint *gmtoff)
 
gboolean scan_rfc3164_timestamp (const guchar **data, gint *length, WallClockTime *wct)
 
gboolean scan_rfc5424_timestamp (const guchar **data, gint *length, WallClockTime *wct)
 

Function Documentation

◆ scan_bsd_timestamp()

gboolean scan_bsd_timestamp ( const gchar **  buf,
gint *  left,
WallClockTime *  wct 
)

◆ scan_day_abbrev()

gboolean scan_day_abbrev ( const gchar **  buf,
gint *  left,
gint *  wday 
)

◆ scan_iso_timestamp()

gboolean scan_iso_timestamp ( const gchar **  buf,
gint *  left,
WallClockTime *  wct 
)

◆ scan_iso_timezone()

gboolean scan_iso_timezone ( const guchar **  data,
gint *  length,
gint *  gmtoff 
)

◆ scan_linksys_timestamp()

gboolean scan_linksys_timestamp ( const gchar **  buf,
gint *  left,
WallClockTime *  wct 
)

◆ scan_month_abbrev()

gboolean scan_month_abbrev ( const gchar **  buf,
gint *  left,
gint *  mon 
)

◆ scan_pix_timestamp()

gboolean scan_pix_timestamp ( const gchar **  buf,
gint *  left,
WallClockTime *  wct 
)

◆ scan_rfc3164_timestamp()

gboolean scan_rfc3164_timestamp ( const guchar **  data,
gint *  length,
WallClockTime *  wct 
)

◆ scan_rfc5424_timestamp()

gboolean scan_rfc5424_timestamp ( const guchar **  data,
gint *  length,
WallClockTime *  wct 
)