ACIL FM
Dark
Refresh
Current DIR:
/usr/include/event2
/
usr
include
event2
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
buffer.h
38.27 MB
chmod
View
DL
Edit
Rename
Delete
bufferevent.h
33.87 MB
chmod
View
DL
Edit
Rename
Delete
bufferevent_compat.h
4.43 MB
chmod
View
DL
Edit
Rename
Delete
bufferevent_ssl.h
4.73 MB
chmod
View
DL
Edit
Rename
Delete
bufferevent_struct.h
4.04 MB
chmod
View
DL
Edit
Rename
Delete
buffer_compat.h
4.63 MB
chmod
View
DL
Edit
Rename
Delete
dns.h
27.36 MB
chmod
View
DL
Edit
Rename
Delete
dns_compat.h
12.29 MB
chmod
View
DL
Edit
Rename
Delete
dns_struct.h
2.54 MB
chmod
View
DL
Edit
Rename
Delete
event-config-64.h
16.97 MB
chmod
View
DL
Edit
Rename
Delete
event-config.h
184 B
chmod
View
DL
Edit
Rename
Delete
event.h
60.88 MB
chmod
View
DL
Edit
Rename
Delete
event_compat.h
7.46 MB
chmod
View
DL
Edit
Rename
Delete
event_struct.h
4.91 MB
chmod
View
DL
Edit
Rename
Delete
http.h
41.91 MB
chmod
View
DL
Edit
Rename
Delete
http_compat.h
3.19 MB
chmod
View
DL
Edit
Rename
Delete
http_struct.h
4.7 MB
chmod
View
DL
Edit
Rename
Delete
keyvalq_struct.h
2.54 MB
chmod
View
DL
Edit
Rename
Delete
listener.h
7.8 MB
chmod
View
DL
Edit
Rename
Delete
rpc.h
21.25 MB
chmod
View
DL
Edit
Rename
Delete
rpc_compat.h
2.3 MB
chmod
View
DL
Edit
Rename
Delete
rpc_struct.h
3.51 MB
chmod
View
DL
Edit
Rename
Delete
tag.h
4.8 MB
chmod
View
DL
Edit
Rename
Delete
tag_compat.h
2.09 MB
chmod
View
DL
Edit
Rename
Delete
thread.h
9.72 MB
chmod
View
DL
Edit
Rename
Delete
util.h
28.73 MB
chmod
View
DL
Edit
Rename
Delete
visibility.h
2.8 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /usr/include/event2/buffer_compat.h
/* * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef EVENT2_BUFFER_COMPAT_H_INCLUDED_ #define EVENT2_BUFFER_COMPAT_H_INCLUDED_ #include <event2/visibility.h> /** @file event2/buffer_compat.h Obsolete and deprecated versions of the functions in buffer.h: provided only for backward compatibility. */ /** Obsolete alias for evbuffer_readln(buffer, NULL, EVBUFFER_EOL_ANY). @deprecated This function is deprecated because its behavior is not correct for almost any protocol, and also because it's wholly subsumed by evbuffer_readln(). @param buffer the evbuffer to read from @return pointer to a single line, or NULL if an error occurred */ EVENT2_EXPORT_SYMBOL char *evbuffer_readline(struct evbuffer *buffer); /** Type definition for a callback that is invoked whenever data is added or removed from an evbuffer. An evbuffer may have one or more callbacks set at a time. The order in which they are executed is undefined. A callback function may add more callbacks, or remove itself from the list of callbacks, or add or remove data from the buffer. It may not remove another callback from the list. If a callback adds or removes data from the buffer or from another buffer, this can cause a recursive invocation of your callback or other callbacks. If you ask for an infinite loop, you might just get one: watch out! @param buffer the buffer whose size has changed @param old_len the previous length of the buffer @param new_len the current length of the buffer @param arg a pointer to user data */ typedef void (*evbuffer_cb)(struct evbuffer *buffer, size_t old_len, size_t new_len, void *arg); /** Replace all callbacks on an evbuffer with a single new callback, or remove them. Subsequent calls to evbuffer_setcb() replace callbacks set by previous calls. Setting the callback to NULL removes any previously set callback. @deprecated This function is deprecated because it clears all previous callbacks set on the evbuffer, which can cause confusing behavior if multiple parts of the code all want to add their own callbacks on a buffer. Instead, use evbuffer_add(), evbuffer_del(), and evbuffer_setflags() to manage your own evbuffer callbacks without interfering with callbacks set by others. @param buffer the evbuffer to be monitored @param cb the callback function to invoke when the evbuffer is modified, or NULL to remove all callbacks. @param cbarg an argument to be provided to the callback function @return 0 if successful, or -1 on error */ EVENT2_EXPORT_SYMBOL int evbuffer_setcb(struct evbuffer *buffer, evbuffer_cb cb, void *cbarg); /** Find a string within an evbuffer. @param buffer the evbuffer to be searched @param what the string to be searched for @param len the length of the search string @return a pointer to the beginning of the search string, or NULL if the search failed. */ EVENT2_EXPORT_SYMBOL unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); /** deprecated in favor of calling the functions directly */ #define EVBUFFER_LENGTH(x) evbuffer_get_length(x) /** deprecated in favor of calling the functions directly */ #define EVBUFFER_DATA(x) evbuffer_pullup((x), -1) #endif
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply