]>
Commit | Line | Data |
---|---|---|
9f95a23c TL |
1 | #ifndef CEPH_CLS_QUEUE_SRC_H |
2 | #define CEPH_CLS_QUEUE_SRC_H | |
3 | ||
f67539c2 TL |
4 | #include "objclass/objclass.h" |
5 | #include "cls/queue/cls_queue_types.h" | |
6 | #include "cls/queue/cls_queue_ops.h" | |
7 | ||
9f95a23c TL |
8 | int queue_write_head(cls_method_context_t hctx, cls_queue_head& head); |
9 | int queue_read_head(cls_method_context_t hctx, cls_queue_head& head); | |
10 | int queue_init(cls_method_context_t hctx, const cls_queue_init_op& op); | |
11 | int queue_get_capacity(cls_method_context_t hctx, cls_queue_get_capacity_ret& op_ret); | |
12 | int queue_enqueue(cls_method_context_t hctx, cls_queue_enqueue_op& op, cls_queue_head& head); | |
13 | int queue_list_entries(cls_method_context_t hctx, const cls_queue_list_op& op, cls_queue_list_ret& op_ret, cls_queue_head& head); | |
14 | int queue_remove_entries(cls_method_context_t hctx, const cls_queue_remove_op& op, cls_queue_head& head); | |
15 | ||
f67539c2 | 16 | #endif /* CEPH_CLS_QUEUE_SRC_H */ |