HTTP-2-lib
h2_callbacks.hpp
Go to the documentation of this file.
1 // h2_callbacks.hpp
2 
3 #pragma once
4 
5 class h2_callbacks {
6 public:
7  static void readCallback(struct bufferevent *bufferEvent, void *ptr);
8  static void writeCallback(struct bufferevent *bufferEvent, void *ptr);
9  static void eventCallback(struct bufferevent *bufferEvent, short events, void *ptr);
10  static void acceptCallback(struct evconnlistener *conListener, int sock,
11  struct sockaddr *address, int address_length, void *arg);
12 };
13 
14 
Definition: h2_callbacks.hpp:5
static void readCallback(struct bufferevent *bufferEvent, void *ptr)
Definition: h2_callbacks.cpp:18
static void eventCallback(struct bufferevent *bufferEvent, short events, void *ptr)
Definition: h2_callbacks.cpp:49
static void acceptCallback(struct evconnlistener *conListener, int sock, struct sockaddr *address, int address_length, void *arg)
Definition: h2_callbacks.cpp:97
static void writeCallback(struct bufferevent *bufferEvent, void *ptr)
Definition: h2_callbacks.cpp:36