Data Fields | |
ccn_handler | p |
client-supplied handler | |
void * | data |
for client use | |
intptr_t | intdata |
for client use | |
int | refcount |
client should not update this directly |
The client is responsible for managing this piece of memory and the data therein. The refcount should be initially zero, and is used by the library to keep to track of multiple registrations of the same closure. When the count drops back to 0, the closure will be called with kind = CCN_UPCALL_FINAL so that it has an opportunity to clean up.
Definition at line 116 of file ccn.h.
client-supplied handler
Definition at line 117 of file ccn.h.
Referenced by ccn_dump_names(), ccn_initiate_ccndid_fetch(), ccn_initiate_key_fetch(), ccn_replace_handler(), ccnd_uri_listen(), ccnr_uri_listen(), deliver_content(), fill_holes(), incoming_content(), main(), NeedSegment(), putFile(), r_proto_initiate_key_fetch(), r_proto_start_write(), r_proto_uri_listen(), split_my_excludes(), SyncRegisterInterest(), SyncSendRootAdviseInterest(), SyncStartContentFetch(), and SyncStartNodeFetch().
void* ccn_closure::data |
for client use
Definition at line 118 of file ccn.h.
Referenced by CallMe(), ccn_dump_names(), ccnd_answer_req(), ccnd_uri_listen(), ccnr_answer_req(), ccnr_uri_listen(), get_my_data(), handle_prefix_reg_reply(), handle_simple_incoming_content(), imcoming_bulkdata(), incoming_content(), incoming_interest(), interest_handler(), main(), NeedSegment(), putFile(), r_proto_answer_req(), r_proto_begin_enumeration(), r_proto_bulk_import(), r_proto_continue_enumeration(), r_proto_expect_content(), r_proto_initiate_key_fetch(), r_proto_policy_complete(), r_proto_start_write(), r_proto_start_write_checked(), r_proto_uri_listen(), seqw_incoming_interest(), split_my_excludes(), storeHandler(), SyncInterestArrived(), SyncRegisterInterest(), SyncRemoteFetchResponse(), SyncRootAdviseResponse(), SyncSendRootAdviseInterest(), SyncStartContentFetch(), and SyncStartNodeFetch().
intptr_t ccn_closure::intdata |
for client use
Definition at line 119 of file ccn.h.
Referenced by ask_more(), ccn_initiate_key_fetch(), ccnd_answer_req(), ccnd_uri_listen(), ccnr_answer_req(), ccnr_uri_listen(), handle_key(), handle_simple_incoming_content(), incoming_content(), incoming_interest(), main(), r_proto_expect_content(), and r_proto_uri_listen().
client should not update this directly
Definition at line 120 of file ccn.h.
Referenced by ccn_replace_handler(), deliver_content(), imcoming_bulkdata(), and incoming_content().