"Fossies" - the Fresh Open Source Software Archive

Member "memcached-1.6.15/proto_proxy.h" (21 Feb 2022, 842 Bytes) of package /linux/www/memcached-1.6.15.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "proto_proxy.h" see the Fossies "Dox" file reference documentation and the last Fossies "Diffs" side-by-side code changes report: 1.6.13_vs_1.6.14.

    1 #ifndef PROTO_PROXY_H
    2 #define PROTO_PROXY_H
    3 
    4 void proxy_stats(ADD_STAT add_stats, conn *c);
    5 void process_proxy_stats(ADD_STAT add_stats, conn *c);
    6 
    7 /* proxy mode handlers */
    8 int try_read_command_proxy(conn *c);
    9 void complete_nread_proxy(conn *c);
   10 void proxy_cleanup_conn(conn *c);
   11 void proxy_thread_init(LIBEVENT_THREAD *thr);
   12 void proxy_init(bool proxy_uring);
   13 // TODO: need better names or a better interface for these. can be confusing
   14 // to reason about the order.
   15 void proxy_start_reload(void *arg);
   16 int proxy_load_config(void *arg);
   17 void proxy_worker_reload(void *arg, LIBEVENT_THREAD *thr);
   18 
   19 void proxy_submit_cb(io_queue_t *q);
   20 void proxy_complete_cb(io_queue_t *q);
   21 void proxy_return_cb(io_pending_t *pending);
   22 void proxy_finalize_cb(io_pending_t *pending);
   23 
   24 /* lua */
   25 int proxy_register_libs(LIBEVENT_THREAD *t, void *ctx);
   26 
   27 #endif