diff options
author | James Yonan <james@openvpn.net> | 2010-04-16 07:04:45 +0000 |
---|---|---|
committer | James Yonan <james@openvpn.net> | 2010-04-16 07:04:45 +0000 |
commit | 7e1c085d76ef452373e5e80273e07471582c2ae8 (patch) | |
tree | 24015a89e1d5159beb0e7e5360d602457ee95b12 /buffer.h | |
parent | Updated MSVC build scripts to Visual Studio 2008: (diff) | |
download | openvpn-7e1c085d76ef452373e5e80273e07471582c2ae8.tar.xz |
Management interface performance optimizations:
* Added env-filter MI command to perform filtering on env vars
passed through as a part of --management-client-auth
* man_write will now try to aggregate output into larger blocks
(up to 1024 bytes) for more efficient i/o
Version 2.1.1f
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5557 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'buffer.h')
-rw-r--r-- | buffer.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -845,9 +845,11 @@ bool buffer_list_defined (const struct buffer_list *ol); void buffer_list_reset (struct buffer_list *ol); void buffer_list_push (struct buffer_list *ol, const unsigned char *str); -const struct buffer *buffer_list_peek (struct buffer_list *ol); +struct buffer *buffer_list_peek (struct buffer_list *ol); void buffer_list_advance (struct buffer_list *ol, int n); +void buffer_list_aggregate (struct buffer_list *bl, const size_t max); + struct buffer_list *buffer_list_file (const char *fn, int max_line_len); #endif |