diff options
| author | Mattias Andrée <maandree@operamail.com> | 2014-10-29 19:06:17 +0100 |
|---|---|---|
| committer | Mattias Andrée <maandree@operamail.com> | 2014-10-29 19:06:17 +0100 |
| commit | 489de1005c94bda6ea2d3f8d0b8535be191cf16e (patch) | |
| tree | 5a59f8a8662716f9f1034873b0cc0696170c5768 /src/common.h | |
| parent | add log-login-utmp (diff) | |
| download | cerberus-logging-489de1005c94bda6ea2d3f8d0b8535be191cf16e.tar.gz cerberus-logging-489de1005c94bda6ea2d3f8d0b8535be191cf16e.tar.bz2 cerberus-logging-489de1005c94bda6ea2d3f8d0b8535be191cf16e.tar.xz | |
more code reuse
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/common.h')
| -rw-r--r-- | src/common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h index 0a1b37f..0acee7f 100644 --- a/src/common.h +++ b/src/common.h @@ -42,6 +42,11 @@ +#define X(A) extern const char* A; + LIST_ARGUMENTS +#undef X + + static inline const char* first_digit(const char* str) { for (; str && *str; str++) @@ -82,3 +87,6 @@ static inline const char* get_hostaddress(const char* hostname) return rc; } + +int do_log(void); + |
