From 3a179f6f4ad2586325656b49bd9d5a53efc8700c Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Wed, 2 Jan 2013 22:07:14 +0100 Subject: [PATCH 1/1] Added missing daemon/config.h. --- src/include/daemon/config.h | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/include/daemon/config.h diff --git a/src/include/daemon/config.h b/src/include/daemon/config.h new file mode 100644 index 0000000..716c105 --- /dev/null +++ b/src/include/daemon/config.h @@ -0,0 +1,37 @@ +/* + * syscollector - src/daemon/config.h + * Copyright (C) 2012 Sebastian 'tokkee' Harl + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; + * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, + * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#ifndef DAEMON_CONFIG_H +#define DAEMON_CONFIG_H 1 + +int +daemon_parse_config(const char *filename); + +#endif /* ! DAEMON_CONFIG_H */ + +/* vim: set tw=78 sw=4 ts=4 noexpandtab : */ + -- 2.30.2