static void publish_content_pull_subscriber(PublishContent this, SubscriberAccount account)
pull subscriber
void publish_content_subscribe_oneshot(PublishContent this, int publish_type, void(*notify)(int publish_type, void *detail, void *ctx), void *ctx)
static void publish_content_push_subscriber(PublishContent this, SubscriberAccount account)
push subscriber
PublishContent publish_content_new(void)
void publish_content_publish(PublishContent this, int publish_type, void *detail)
SubscriberAccount publish_content_subscribe(PublishContent this, int publish_type, void(*notify)(int publish_type, void *detail, void *ctx), void *ctx)
void publish_content_free(PublishContent this)
static SubscriberAccount publish_content_pop_subscriber(PublishContent this)
pop subscriber
void publish_content_unsubscribe(PublishContent this, SubscriberAccount account)
This is API for PublishContent class which managed in Publisher.
struct publish_content_t * PublishContent
#define PUBLISH_CONTENT_UNLOCK
#define PUBLISH_CONTENT_LOCK(content)