Lines Matching defs:zlog
53 struct zlog
77 extern struct zlog *zlog_default;
79 /* Open zlog function */
80 struct zlog *openzlog (const char *, int, zlog_proto_t, int, int);
82 /* Close zlog function. */
83 void closezlog (struct zlog *zl);
92 /* Generic function for zlog. */
93 void zlog (struct zlog *zl, int priority, const char *format, ...) PRINTF_ATTRIBUTE(3, 4);
95 /* Handy zlog functions. */
103 void plog_err (struct zlog *, const char *format, ...);
104 void plog_warn (struct zlog *, const char *format, ...);
105 void plog_info (struct zlog *, const char *format, ...);
106 void plog_notice (struct zlog *, const char *format, ...);
107 void plog_debug (struct zlog *, const char *format, ...);
109 /* Set zlog flags. */
110 void zlog_set_flag (struct zlog *zl, int flags);
111 void zlog_reset_flag (struct zlog *zl, int flags);
113 /* Set zlog filename. */
114 int zlog_set_file (struct zlog *zl, int flags, char *filename);
115 int zlog_reset_file (struct zlog *zl);