2019-09-03 16:47:01 +02:00
|
|
|
#ifndef RXPC_HTTP2_LIBEVENT_H
|
|
|
|
|
#define RXPC_HTTP2_LIBEVENT_H
|
|
|
|
|
|
|
|
|
|
#include "session.h"
|
2024-06-22 19:44:17 +10:00
|
|
|
#include "stream.h"
|
2019-09-03 16:47:01 +02:00
|
|
|
#include <event2/bufferevent.h>
|
|
|
|
|
|
|
|
|
|
struct rxpc_libevent_session {
|
|
|
|
|
struct rxpc_session session;
|
|
|
|
|
struct bufferevent *bev;
|
2024-06-22 19:44:17 +10:00
|
|
|
struct rxpc_stream_callbacks *ready_cbs;
|
2019-09-03 16:47:01 +02:00
|
|
|
};
|
|
|
|
|
|
2024-06-22 19:44:17 +10:00
|
|
|
struct rxpc_libevent_session *rxpc_libevent_session_create(
|
|
|
|
|
struct event_base *evbase, struct rxpc_stream_callbacks *ready_cbs);
|
2019-09-03 16:47:01 +02:00
|
|
|
|
|
|
|
|
#endif //RXPC_HTTP2_LIBEVENT_H
|