mirror of
https://github.com/t2linux/librxpc.git
synced 2026-04-30 13:53:55 -07:00
68b29b5350
i think some of the changes here might be by mrarm not me but ive forgotten
18 lines
440 B
C
18 lines
440 B
C
#ifndef RXPC_HTTP2_LIBEVENT_H
|
|
#define RXPC_HTTP2_LIBEVENT_H
|
|
|
|
#include "session.h"
|
|
#include "stream.h"
|
|
#include <event2/bufferevent.h>
|
|
|
|
struct rxpc_libevent_session {
|
|
struct rxpc_session session;
|
|
struct bufferevent *bev;
|
|
struct rxpc_stream_callbacks *ready_cbs;
|
|
};
|
|
|
|
struct rxpc_libevent_session *rxpc_libevent_session_create(
|
|
struct event_base *evbase, struct rxpc_stream_callbacks *ready_cbs);
|
|
|
|
#endif //RXPC_HTTP2_LIBEVENT_H
|