"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/lib/lib-event.h" between
dovecot-2.3.16.tar.gz and dovecot-2.3.17.tar.gz

About: Dovecot is an IMAP and POP3 server, written with security primarily in mind.

lib-event.h  (dovecot-2.3.16):lib-event.h  (dovecot-2.3.17)
skipping to change at line 242 skipping to change at line 242
it's assumed that __FILE__ has been used and the pointer is stored directly, it's assumed that __FILE__ has been used and the pointer is stored directly,
otherwise the filename is strdup()ed. */ otherwise the filename is strdup()ed. */
struct event * struct event *
event_set_source(struct event *event, const char *filename, event_set_source(struct event *event, const char *filename,
unsigned int linenum, bool literal_fname); unsigned int linenum, bool literal_fname);
/* Always include the source path:line in the log replies. This is /* Always include the source path:line in the log replies. This is
especially useful when logging about unexpected syscall failures, because especially useful when logging about unexpected syscall failures, because
it allow quickly finding which of the otherwise identical syscalls in the it allow quickly finding which of the otherwise identical syscalls in the
code generated the error. */ code generated the error. */
struct event *event_set_always_log_source(struct event *event); struct event *event_set_always_log_source(struct event *event);
/* Set minimum log level for the event */ /* Set minimum normal log level for the event. By default events with INFO
level and higher are logged. This can be used to easily hide even the INFO
log lines unless some verbose-setting is enabled.
Note that this functionality is mostly independent of debug logging.
Don't use this to enable debug log - use event_set_forced_debug() instead. */
struct event *event_set_min_log_level(struct event *event, enum log_type level); struct event *event_set_min_log_level(struct event *event, enum log_type level);
enum log_type event_get_min_log_level(const struct event *event); enum log_type event_get_min_log_level(const struct event *event);
/* Add an internal pointer to an event. It can be looked up only with /* Add an internal pointer to an event. It can be looked up only with
event_get_ptr(). The keys are in their own namespace and won't conflict event_get_ptr(). The keys are in their own namespace and won't conflict
with event fields. The pointers are specific to this specific event only - with event fields. The pointers are specific to this specific event only -
they will be dropped from any duplicated/flattened/minimized events. */ they will be dropped from any duplicated/flattened/minimized events. */
struct event *event_set_ptr(struct event *event, const char *key, void *value); struct event *event_set_ptr(struct event *event, const char *key, void *value);
/* Return a pointer set with event_set_ptr(), or NULL if it doesn't exist. /* Return a pointer set with event_set_ptr(), or NULL if it doesn't exist.
The pointer is looked up only from the event itself, not its parents. */ The pointer is looked up only from the event itself, not its parents. */
 End of changes. 1 change blocks. 
1 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)