comparison src/doveadm/doveadm-who.h @ 19900:6f760a1def9f

doveadm kick: Don't show who command's help on duplicate network/username masks
author Aki Tuomi <aki.tuomi@dovecot.fi>
date Sun, 28 Feb 2016 18:59:35 +0200
parents 8eae4e205c82
children
comparison
equal deleted inserted replaced
19899:ef466c52207b 19900:6f760a1def9f
25 }; 25 };
26 26
27 typedef void who_callback_t(struct who_context *ctx, 27 typedef void who_callback_t(struct who_context *ctx,
28 const struct who_line *line); 28 const struct who_line *line);
29 29
30 void who_parse_args(struct who_context *ctx, char **args); 30 int who_parse_args(struct who_context *ctx, const char *const *masks);
31 31
32 void who_lookup(struct who_context *ctx, who_callback_t *callback); 32 void who_lookup(struct who_context *ctx, who_callback_t *callback);
33 33
34 bool who_line_filter_match(const struct who_line *line, 34 bool who_line_filter_match(const struct who_line *line,
35 const struct who_filter *filter); 35 const struct who_filter *filter);