ext/zookeeper_lib.h in zookeeper-0.4.3 vs ext/zookeeper_lib.h in zookeeper-0.4.4
- old
+ new
@@ -24,10 +24,11 @@
extern int ZKRBDebugging;
extern pthread_mutex_t zkrb_q_mutex;
struct zkrb_data_completion {
char *data;
+ int data_len;
struct Stat *stat;
};
struct zkrb_stat_completion {
struct Stat *stat;
@@ -106,9 +107,10 @@
/* push/pop is a misnomer, this is a queue */
void zkrb_enqueue(zkrb_queue_t *queue, zkrb_event_t *elt);
zkrb_event_t * zkrb_peek(zkrb_queue_t *queue);
zkrb_event_t * zkrb_dequeue(zkrb_queue_t *queue, int need_lock);
+void zkrb_signal(zkrb_queue_t *queue);
void zkrb_print_stat(const struct Stat *s);
typedef struct {
int64_t req_id;