From 3a2bbdb05ca6a6996e424c9fb225cb0d53804125 Mon Sep 17 00:00:00 2001 From: Alberto Gonzalez Iniesta Date: Tue, 27 Dec 2016 18:25:47 +0100 Subject: New upstream version 2.4.0 --- src/openvpn/push.h | 44 +++++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 21 deletions(-) (limited to 'src/openvpn/push.h') diff --git a/src/openvpn/push.h b/src/openvpn/push.h index 1dfd80e..86900c8 100644 --- a/src/openvpn/push.h +++ b/src/openvpn/push.h @@ -5,7 +5,7 @@ * packet encryption, packet authentication, and * packet compression. * - * Copyright (C) 2002-2010 OpenVPN Technologies, Inc. + * Copyright (C) 2002-2017 OpenVPN Technologies, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 @@ -37,37 +37,39 @@ #define PUSH_MSG_CONTINUATION 5 #define PUSH_MSG_ALREADY_REPLIED 6 -int process_incoming_push_request (struct context *c); +int process_incoming_push_request(struct context *c); -int process_incoming_push_msg (struct context *c, - const struct buffer *buffer, - bool honor_received_options, - unsigned int permission_mask, - unsigned int *option_types_found); +int process_incoming_push_msg(struct context *c, + const struct buffer *buffer, + bool honor_received_options, + unsigned int permission_mask, + unsigned int *option_types_found); -bool send_push_request (struct context *c); +bool send_push_request(struct context *c); -void receive_auth_failed (struct context *c, const struct buffer *buffer); +void receive_auth_failed(struct context *c, const struct buffer *buffer); -void server_pushed_signal (struct context *c, const struct buffer *buffer, const bool restart, const int adv); +void server_pushed_signal(struct context *c, const struct buffer *buffer, const bool restart, const int adv); -void incoming_push_message (struct context *c, const struct buffer *buffer); +void incoming_push_message(struct context *c, const struct buffer *buffer); #if P2MP_SERVER -void clone_push_list (struct options *o); +void clone_push_list(struct options *o); -void push_option (struct options *o, const char *opt, int msglevel); -void push_options (struct options *o, char **p, int msglevel, struct gc_arena *gc); +void push_option(struct options *o, const char *opt, int msglevel); -void push_reset (struct options *o); -void push_remove_option (struct options *o, const char *p); +void push_options(struct options *o, char **p, int msglevel, struct gc_arena *gc); -void remove_iroutes_from_push_route_list (struct options *o); +void push_reset(struct options *o); -void send_auth_failed (struct context *c, const char *client_reason); +void push_remove_option(struct options *o, const char *p); -void send_restart (struct context *c, const char *kill_msg); +void remove_iroutes_from_push_route_list(struct options *o); + +void send_auth_failed(struct context *c, const char *client_reason); + +void send_restart(struct context *c, const char *kill_msg); #endif -#endif -#endif +#endif /* if P2MP */ +#endif /* ifndef PUSH_H */ -- cgit v1.2.3