| 1 | /* |
| 2 | * AIDE (Advanced Intrusion Detection Environment) |
| 3 | * |
| 4 | * Copyright (C) 2002, 2006, 2019-2020,2025 Rami Lehti, Pablo Virolainen, |
| 5 | * Richard van den Berg, Hannes von Haugwitz |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or |
| 8 | * modify it under the terms of the GNU General Public License as |
| 9 | * published by the Free Software Foundation; either version 2 of the |
| 10 | * License, or (at your option) any later version. |
| 11 | * |
| 12 | * This program is distributed in the hope that it will be useful, but |
| 13 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License along |
| 18 | * with this program; if not, write to the Free Software Foundation, Inc., |
| 19 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 20 | */ |
| 21 | |
| 22 | #ifndef _URL_H_INCLUDED |
| 23 | #define _URL_H_INCLUDEDcxx . . $ `include/url.h:23:9`! |
| 24 | |
| 25 | typedef enumcxx . . $ $anonymous_type_499d47bd5c4df433_0# { |
| 26 | url_filecxx . . $ url_file. = 1, |
| 27 | url_stdoutcxx . . $ url_stdout., |
| 28 | url_stdincxx . . $ url_stdin., |
| 29 | url_stderrcxx . . $ url_stderr., |
| 30 | url_fdcxx . . $ url_fd., |
| 31 | url_ftpcxx . . $ url_ftp., |
| 32 | url_httpcxx . . $ url_http., |
| 33 | url_httpscxx . . $ url_https., |
| 34 | url_syslogcxx . . $ url_syslog., |
| 35 | } URL_TYPEcxx . . $ URL_TYPE#; |
| 36 | |
| 37 | typedef struct url_tcxx . . $ url_t# { |
| 38 | /* Everything before the first ':' */ |
| 39 | URL_TYPEcxx . . $ URL_TYPE# typecxx . . $ url_t#type.; |
| 40 | char* valuecxx . . $ url_t#value.; |
| 41 | char* rawcxx . . $ url_t#raw.; |
| 42 | } url_tcxx . . $ url_t#; |
| 43 | |
| 44 | URL_TYPEcxx . . $ URL_TYPE# get_url_typecxx . . $ get_url_type(f5c03b637e4e739e).(char *); |
| 45 | |
| 46 | const char* get_url_type_stringcxx . . $ get_url_type_string(6e06a7e3ceb1c24f).(URL_TYPEcxx . . $ URL_TYPE#); |
| 47 | |
| 48 | #endif |