Register buffer_lock as a global output
This commit is contained in:
@ -7,6 +7,7 @@
|
||||
|
||||
typedef struct buffer_s buffer_t;
|
||||
typedef struct buffer_list_s buffer_list_t;
|
||||
typedef struct buffer_lock_s buffer_lock_t;
|
||||
typedef struct link_s link_t;
|
||||
|
||||
typedef void (*link_on_buffer)(buffer_t *buf);
|
||||
@ -14,10 +15,11 @@ typedef bool (*link_check_streaming)();
|
||||
typedef bool (*link_validate_buffer)(struct link_s *link, buffer_t *buf);
|
||||
|
||||
typedef struct link_callbacks_s {
|
||||
const char *callback_name;
|
||||
const char *name;
|
||||
link_on_buffer on_buffer;
|
||||
link_check_streaming check_streaming;
|
||||
link_validate_buffer validate_buffer;
|
||||
buffer_lock_t *buf_lock;
|
||||
} link_callbacks_t;
|
||||
|
||||
typedef struct link_s {
|
||||
|
Reference in New Issue
Block a user