Blame include/url.h

Packit Service 5e8d2a
/* aide, Advanced Intrusion Detection Environment
Packit Service 5e8d2a
 *
Packit Service 5e8d2a
 * Copyright (C) 2002,2006 Rami Lehti, Pablo Virolainen, Richard van den
Packit Service 5e8d2a
 * Berg
Packit Service 5e8d2a
 * $Header$
Packit Service 5e8d2a
 *
Packit Service 5e8d2a
 * This program is free software; you can redistribute it and/or
Packit Service 5e8d2a
 * modify it under the terms of the GNU General Public License as
Packit Service 5e8d2a
 * published by the Free Software Foundation; either version 2 of the
Packit Service 5e8d2a
 * License, or (at your option) any later version.
Packit Service 5e8d2a
 *
Packit Service 5e8d2a
 * This program is distributed in the hope that it will be useful, but
Packit Service 5e8d2a
 * WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 5e8d2a
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Packit Service 5e8d2a
 * General Public License for more details.
Packit Service 5e8d2a
 *
Packit Service 5e8d2a
 * You should have received a copy of the GNU General Public License
Packit Service 5e8d2a
 * along with this program; if not, write to the Free Software
Packit Service 5e8d2a
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
Packit Service 5e8d2a
 */
Packit Service 5e8d2a
Packit Service 5e8d2a
#ifndef _URL_H_INCLUDED
Packit Service 5e8d2a
#define _URL_H_INCLUDED
Packit Service 5e8d2a
Packit Service 5e8d2a
typedef enum {
Packit Service 5e8d2a
  url_file, url_stdout, url_stdin, url_stderr, url_fd, url_http,
Packit Service 5e8d2a
  url_sql, url_syslog, url_database, url_multiwriter, 
Packit Service 5e8d2a
  url_gzip, url_string, url_ftp, url_https, 
Packit Service 5e8d2a
  url_unknown
Packit Service 5e8d2a
} URL_TYPE;
Packit Service 5e8d2a
Packit Service 5e8d2a
Packit Service 5e8d2a
typedef struct url_t {
Packit Service 5e8d2a
  /* Everything before the first ':' */
Packit Service 5e8d2a
  URL_TYPE type;
Packit Service 5e8d2a
  char* value;
Packit Service 5e8d2a
  void* data; /* We might want to pass some list's to multiwriter */ 
Packit Service 5e8d2a
} url_t;
Packit Service 5e8d2a
Packit Service 5e8d2a
Packit Service 5e8d2a
Packit Service 5e8d2a
#endif