Revision 92a361ca src/streamer_creation_callback.h

View differences:

src/streamer_creation_callback.h
21 21
#define __STREAMER_CREATION_CALLBACK_H__
22 22

  
23 23
#include<pstreamer.h>
24
#include<pschannel.h>
24 25
#include<stdint.h>
25 26
#include<mongoose.h>
26 27

  
27 28
struct pstreamer;
28 29
struct streamer_creation_callback;
29 30

  
30
typedef int8_t (*streamer_creation_handler_t)(struct mg_connection *nc, const struct pstreamer *ps, int8_t ret);
31
typedef int8_t (*streamer_creation_handler_t)(struct mg_connection *nc, const struct pschannel_bucket * psb,  const struct pstreamer *ps, int8_t ret);
31 32

  
32
struct streamer_creation_callback * streamer_creation_callback_new(struct mg_connection *nc, streamer_creation_handler_t handler);
33
struct streamer_creation_callback * streamer_creation_callback_new(struct mg_connection *nc, const struct pschannel_bucket * psb, streamer_creation_handler_t handler);
33 34
 
34 35
int8_t streamer_creation_set_pstreamer_ref(struct streamer_creation_callback * scc, const struct pstreamer *ps);
35 36

  

Also available in: Unified diff