design_pattern_for_c  V 1.00
publish_content.h File Reference

This is API for PublishContent class which managed in Publisher. More...

#include "publisher.h"
Include dependency graph for publish_content.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct publish_content_t publish_content_t
 
typedef struct publish_content_tPublishContent
 

Functions

PublishContent publish_content_new (void)
 
SubscriberAccount publish_content_subscribe (PublishContent this, int publish_type, void(*notify)(int publish_type, void *detail, void *ctx), void *ctx)
 
void publish_content_subscribe_oneshot (PublishContent this, int publish_type, void(*notify)(int publish_type, void *detail, void *ctx), void *ctx)
 
void publish_content_unsubscribe (PublishContent this, SubscriberAccount account)
 
void publish_content_publish (PublishContent content, int publish_type, void *detail)
 
void publish_content_free (PublishContent content)
 

Detailed Description

This is API for PublishContent class which managed in Publisher.

Definition in file publish_content.h.

Typedef Documentation

◆ publish_content_t

Definition at line 14 of file publish_content.h.

◆ PublishContent

Definition at line 14 of file publish_content.h.

Function Documentation

◆ publish_content_free()

void publish_content_free ( PublishContent  content)

Definition at line 116 of file publish_content.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ publish_content_new()

PublishContent publish_content_new ( void  )

Definition at line 49 of file publish_content.c.

Here is the caller graph for this function:

◆ publish_content_publish()

void publish_content_publish ( PublishContent  content,
int  publish_type,
void *  detail 
)

Definition at line 91 of file publish_content.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ publish_content_subscribe()

SubscriberAccount publish_content_subscribe ( PublishContent  this,
int  publish_type,
void(*)(int publish_type, void *detail, void *ctx)  notify,
void *  ctx 
)

Definition at line 55 of file publish_content.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ publish_content_subscribe_oneshot()

void publish_content_subscribe_oneshot ( PublishContent  this,
int  publish_type,
void(*)(int publish_type, void *detail, void *ctx)  notify,
void *  ctx 
)

Definition at line 70 of file publish_content.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ publish_content_unsubscribe()

void publish_content_unsubscribe ( PublishContent  this,
SubscriberAccount  account 
)

Definition at line 84 of file publish_content.c.

Here is the call graph for this function:
Here is the caller graph for this function: