/* * audispd-builtins.h - Minimal linked list library * Copyright (c) 2007,2013 Red Hat Inc., Durham, North Carolina. * All Rights Reserved. * * This software may be freely redistributed and/or modified under the * terms of the GNU General Public License as published by the Free * Software Foundation; either version 2, 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. * * You should have received a copy of the GNU General Public License * along with this program; see the file COPYING. If not, write to the * Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * Authors: * Steve Grubb */ #ifndef AUDISPD_BUILTINS_HEADER #define AUDISPD_BUILTINS_HEADER #include "queue.h" void start_builtin(plugin_conf_t *conf); void stop_builtin(plugin_conf_t *conf); void send_af_unix_string(const char *s, unsigned int len); void send_af_unix_binary(event_t *e); void destroy_af_unix(void); void send_syslog(const char *s); void destroy_syslog(void); typedef void (*poll_callback_ptr)(int fd); int add_event(int fd, poll_callback_ptr cb); int remove_event(int fd); #endif