fred-mod-eppd
/build/mod-eppd-2.29.0/epp_parser.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2006-2018 CZ.NIC, z. s. p. o.
3 *
4 * This file is part of FRED.
5 *
6 * FRED is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * FRED is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with FRED. If not, see <https://www.gnu.org/licenses/>.
18 */
24#ifndef EPP_PARSER_H
25#define EPP_PARSER_H
26
33typedef enum {
43 /*
44 * when following status values are returned, connection is closed
45 */
56
62typedef enum {
63 EPP_RED_UNKNOWN_CMD,
64 EPP_RED_LOGIN,
65 EPP_RED_LOGOUT,
66 EPP_RED_CHECK,
67 EPP_RED_INFO,
68 EPP_RED_POLL,
69 EPP_RED_TRANSFER,
70 EPP_RED_CREATE,
71 EPP_RED_DELETE,
72 EPP_RED_RENEW,
73 EPP_RED_UPDATE,
74 EPP_RED_EXTCMD,
75 EPP_RED_HELLO
77
85void *epp_parser_init(const char *url_schema);
86
93void epp_parser_init_cleanup(void *schema);
94
109 epp_context *epp_ctx, int loggedin, void *schema, const char *request, unsigned bytes,
110 epp_command_data **cdata, const eppd_server_xml_conf *xml_schema, epp_red_command_type *cmd_type);
111
117void epp_parser_request_cleanup(void *cdata_arg);
118
119
120#endif /* EPP_PARSER_H */
void epp_parser_init_cleanup(void *schema)
Definition: epp_parser.c:580
parser_status
Definition: epp_parser.h:33
@ PARSER_NOT_VALID
Definition: epp_parser.h:37
@ PARSER_CMD_LOGOUT
Definition: epp_parser.h:35
@ PARSER_HELLO
Definition: epp_parser.h:42
@ PARSER_CMD_OTHER
Definition: epp_parser.h:36
@ PARSER_NOT_COMMAND
Definition: epp_parser.h:46
@ PARSER_NOT_XML
Definition: epp_parser.h:47
@ PARSER_ESCHEMA
Definition: epp_parser.h:48
@ PARSER_EINTERNAL
Definition: epp_parser.h:54
@ PARSER_CMD_LOGIN
Definition: epp_parser.h:34
parser_status epp_parse_command(epp_context *epp_ctx, int loggedin, void *schema, const char *request, unsigned bytes, epp_command_data **cdata, const eppd_server_xml_conf *xml_schema, epp_red_command_type *cmd_type)
Definition: epp_parser.c:3462
epp_red_command_type
Definition: epp_parser.h:62
void epp_parser_request_cleanup(void *cdata_arg)
Definition: epp_parser.c:587
void * epp_parser_init(const char *url_schema)
Definition: epp_parser.c:532
Definition: epp_common.h:932
Definition: epp_common.h:46
Definition: epp_common.h:416