design_pattern_for_c  V 1.00
main.c File Reference
#include "publisher.h"
#include "event_threadpool.h"
#include <sys/types.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
Include dependency graph for main.c:

Go to the source code of this file.

Functions

static void event_publish (int socketfd, int eventflag, void *event_arg)
 
static void add_event_publisher (EventTPoolManager tpool)
 
void publisher_notify (int publish_type, void *detail, void *ctx)
 
int main ()
 

Function Documentation

◆ add_event_publisher()

static void add_event_publisher ( EventTPoolManager  tpool)
static

Definition at line 16 of file main.c.

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

◆ event_publish()

static void event_publish ( int  socketfd,
int  eventflag,
void *  event_arg 
)
static

Definition at line 9 of file main.c.

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

◆ main()

int main ( )

Definition at line 28 of file main.c.

Here is the call graph for this function:

◆ publisher_notify()

void publisher_notify ( int  publish_type,
void *  detail,
void *  ctx 
)

Definition at line 21 of file main.c.

Here is the caller graph for this function: