#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include "include/mc_platform.h"#include "include/df.h"#include "include/df_request.x.h"Go to the source code of this file.
Value:
if ( !strcmp(request->command, string ) ) { \ return_code = MC_SUCCESS; \ handler_code = request_handler_##name( \ global, \ request->data ); \ request_code = REQUEST_##name; \ } else
Referenced by acc_MessageHandlerThread(), and acc_Thread().
Definition at line 47 of file df.c.
References ListAdd(), MC_SUCCESS, and SIGNAL.
Referenced by request_handler_REGISTER().
Definition at line 63 of file df.c.
References ListAdd(), and SIGNAL.
Referenced by MC_DeregisterService(), MC_RegisterService(), and MC_SearchForService().
Definition at line 80 of file df.c.
References COND_DESTROY, df_node_Destroy(), df_request_list_Destroy(), ListPop(), ListTerminate(), MC_SUCCESS, MUTEX_DESTROY, and MUTEX_LOCK.
Referenced by mc_platform_Destroy().
Definition at line 98 of file df.c.
References COND_INIT, COND_T, df_request_list_New(), ListInitialize(), MUTEX_INIT, and MUTEX_T.
Referenced by mc_platform_Initialize().
Definition at line 409 of file df.c.
References MC_SUCCESS, and MUTEX_LOCK.
Referenced by df_Destroy().
Definition at line 129 of file df.c.
References mc_platform_s::df, df_request_list_Pop(), MC_ERR_EMPTY, and MC_ERR_INVALID.
Referenced by df_Thread().
Definition at line 318 of file df.c.
References df_request_list_node_Destroy(), ListPop(), ListTerminate(), MC_SUCCESS, and node.
Referenced by df_Destroy().
Definition at line 340 of file df.c.
References CHECK_NULL, COND_INIT, COND_T, ListInitialize(), MUTEX_INIT, and MUTEX_T.
Referenced by df_Initialize().
Definition at line 289 of file df.c.
References COND_DESTROY, MC_SUCCESS, and MUTEX_DESTROY.
Referenced by df_request_list_Destroy(), and MC_SearchForService().
Definition at line 300 of file df.c.
References CHECK_NULL, COND_INIT, COND_T, MUTEX_INIT, MUTEX_T, and node.
Referenced by MC_DeregisterService(), MC_RegisterService(), and MC_SearchForService().
Definition at line 365 of file df.c.
References ListPop(), MUTEX_LOCK, MUTEX_UNLOCK, and node.
Referenced by df_ProcessRequest().
Definition at line 396 of file df.c.
References COND_DESTROY, MC_SUCCESS, and MUTEX_DESTROY.
Referenced by MC_SearchForService().
Definition at line 381 of file df.c.
References CHECK_NULL, COND_INIT, COND_T, MUTEX_INIT, MUTEX_T, and search.
Referenced by MC_SearchForService().
Definition at line 173 of file df.c.
References MC_ERR_NOT_FOUND, MC_SUCCESS, MUTEX_LOCK, MUTEX_UNLOCK, listNode_s::next, and listNode_s::node_data.
Referenced by request_handler_SEARCH().
Definition at line 258 of file df.c.
References mc_platform_s::df, df_Thread(), MC_THREAD_DF, mc_platform_s::stack_size, and THREAD_CREATE.
Referenced by mc_platform_Initialize().
Definition at line 423 of file df.c.
References COND_BROADCAST, COND_WAIT, mc_platform_s::df, df_ProcessRequest(), MC_SUCCESS, MUTEX_LOCK, MUTEX_UNLOCK, mc_platform_s::quit, and mc_platform_s::quit_lock.
Referenced by df_Start().
Definition at line 517 of file df.c.
References mc_platform_s::df, MC_SUCCESS, MUTEX_LOCK, MUTEX_UNLOCK, listNode_s::next, node, and listNode_s::node_data.
Definition at line 493 of file df.c.
References mc_platform_s::df, df_SearchForService(), MC_SUCCESS, search, and SIGNAL.