aboutsummaryrefslogtreecommitdiff
path: root/options.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-09-30 06:11:38 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-09-30 06:11:38 +0000
commitbb564a5950a14139f59305e549ca8665b8f31cb8 (patch)
tree62054c12921f4e364b607b1cf3fded0df5605632 /options.h
parentVersion 2.1_rc12 (diff)
downloadopenvpn-bb564a5950a14139f59305e549ca8665b8f31cb8.tar.xz
Management interface can now listen on a unix
domain socket, for example: management /tmp/openvpn unix Also added management-client-user and management-client-group directives to control which processes are allowed to connect to the socket. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3396 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'options.h')
-rw-r--r--options.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/options.h b/options.h
index 30838ca..fcb9d41 100644
--- a/options.h
+++ b/options.h
@@ -319,6 +319,9 @@ struct options
int management_state_buffer_size;
const char *management_write_peer_info_file;
+ const char *management_client_user;
+ const char *management_client_group;
+
/* Mask of MF_ values of manage.h */
unsigned int management_flags;
#endif
@@ -610,9 +613,9 @@ char *options_string (const struct options *o,
bool remote,
struct gc_arena *gc);
-int options_cmp_equal_safe (char *actual, const char *expected, size_t actual_n);
+bool options_cmp_equal_safe (char *actual, const char *expected, size_t actual_n);
void options_warning_safe (char *actual, const char *expected, size_t actual_n);
-int options_cmp_equal (char *actual, const char *expected);
+bool options_cmp_equal (char *actual, const char *expected);
void options_warning (char *actual, const char *expected);
#endif