diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-02-28 23:09:10 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-16 14:53:18 +0100 |
commit | 952b9164b9ae2af4d1fd18f77d4b97bfa4d78eab (patch) | |
tree | 23ddfedb9607b393ee82120d852bfecd83c4248f /src/mm-context.h | |
parent | 1701230f5164087bd7c279c35c8797ae1e80f0d5 (diff) |
context: new source files to keep the daemon context
Diffstat (limited to 'src/mm-context.h')
-rw-r--r-- | src/mm-context.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/mm-context.h b/src/mm-context.h new file mode 100644 index 00000000..659a85bc --- /dev/null +++ b/src/mm-context.h @@ -0,0 +1,30 @@ +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details: + * + * Copyright (C) 2012 Aleksander Morgado <aleksander@gnu.org> + */ + +#ifndef MM_CONTEXT_H +#define MM_CONTEXT_H + +#include <glib.h> + +void mm_context_init (gint argc, + gchar **argv); + +gboolean mm_context_get_debug (void); +const gchar *mm_context_get_log_level (void); +const gchar *mm_context_get_log_file (void); +gboolean mm_context_get_timestamps (void); +gboolean mm_context_get_relative_timestamps (void); + +#endif /* MM_CONTEXT_H */ |