mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-14 09:24:54 +02:00
* pandora_agent.c: Solved some leaks * pandora_agent.conf: Added some example modules * pandora_config.c: Added parse_config, fill module & fill setup functions * pandora_config.h: Fixed function prototypes * pandora_util.c: Added xml writer & trim functions * pandora_util.h: Added trim functions prototype * pandora_type.h: Added pointer for the link list git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3799 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
36 lines
922 B
C
36 lines
922 B
C
// Pandora FMS Embedded Agent
|
|
// (c) Artica Soluciones Tecnológicas S.L 2011
|
|
// (c) Sancho Lerena <slerena@artica.es>
|
|
|
|
// 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.
|
|
//
|
|
// 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.
|
|
|
|
|
|
void
|
|
pandora_log (int level, char *message, struct pandora_setup *pandorasetup );
|
|
|
|
void
|
|
pandora_free (void *pointer);
|
|
|
|
char *
|
|
rtrim(char* string, char junk);
|
|
|
|
char *
|
|
ltrim(char *string, char junk);
|
|
|
|
char *
|
|
trim (char * s);
|
|
|
|
int
|
|
isdatafile (char *filename);
|
|
|
|
|
|
char *
|
|
return_time (char *formatstring);
|