aboutsummaryrefslogtreecommitdiffstats
path: root/src/nSocket/include/nstack_dmm_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nSocket/include/nstack_dmm_api.h')
-rw-r--r--src/nSocket/include/nstack_dmm_api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nSocket/include/nstack_dmm_api.h b/src/nSocket/include/nstack_dmm_api.h
index dff69f3..ab06650 100644
--- a/src/nSocket/include/nstack_dmm_api.h
+++ b/src/nSocket/include/nstack_dmm_api.h
@@ -57,6 +57,7 @@ typedef enum
typedef struct __nstack_extern_ops
{
int (*module_init) (void); /*stack module init */
+ int (*module_init_child) (void); /*stack module init for child process */
int (*fork_init_child) (pid_t p, pid_t c); /*after fork, stack child process init again if needed. */
void (*fork_parent_fd) (int s, pid_t p); /*after fork, stack parent process proc again if needed. */
void (*fork_child_fd) (int s, pid_t p, pid_t c); /*after fork, child record pid for recycle if needed. */