Skip to content

Commit

Permalink
some docks
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavrax committed Jan 23, 2025
1 parent 7e2df3b commit ae3f409
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions core/pubnub_ntf_enforcement.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ enum pubnub_api_enforcement {
*/
void pubnub_enforce_api(pubnub_t* pb, enum pubnub_api_enforcement policy);


// TODO: maybe move it to pbcc file
/* This section declares the functions that are used when the api enforcement
* policy is set to sync. They are bridge between the sync and callback interfaces.
*/

void pbntf_trans_outcome_sync(pubnub_t* pb, enum pubnub_state state);
void pbntf_trans_outcome_callback(pubnub_t* pb, enum pubnub_state state);
Expand Down Expand Up @@ -89,5 +90,7 @@ void pbnc_tr_cxt_state_reset_callback(pubnub_t* pb);
enum pubnub_res pubnub_last_result_sync(pubnub_t* pb);
enum pubnub_res pubnub_last_result_callback(pubnub_t* pb);

/* End of the section */

#endif // PUBNUB_NTF_RUNTIME_SELECTION
#endif // PUBNUB_NTF_ENFORCEMENT_H

0 comments on commit ae3f409

Please sign in to comment.