#include <string.h>
#include <hipc/scfg.h>
#include <hipc/usoc.h>
#include <hipc/usocutils.h>
#include "CFGled.h"
#include "CFGled_scfg.h"
#include "hipcsvs_led.h"
Go to the source code of this file.
Functions | |
void | hipcsvsLedInit (void) |
enum HIPC_errno | hipcsvsLedRun (struct HIPC_usoc *const so_p, hipc_msgd *const mdq_p) |
void | hipcMain (struct HIPC_usoc *const so_p) |
Variables | |
static struct STRUprm | prm |
void hipcsvsLedInit | ( | void | ) |
Definition at line 13 of file hipcsvs_led.c.
References hipcsvsLedUpdate(), and prm.
Referenced by main().
enum HIPC_errno hipcsvsLedRun | ( | struct HIPC_usoc *const | so_p, |
hipc_msgd *const | mdq_p | ||
) |
Definition at line 21 of file hipcsvs_led.c.
References HIPC_ERR_S_INV_MSG_TYPE, HIPC_ERR_S_INV_STRUNO, HIPC_ERR_S_INV_UDATA, HIPC_MESSAGE_TYPE_BYE, HIPC_MESSAGE_TYPE_GET, HIPC_MESSAGE_TYPE_PUT, HIPC_MSGHDR_SIZE, HIPC_SUCCESS, hipcGenmdQuit, hipcGenmdSuccess, hipcGenmdSuccessToGet(), hipcMsgdBdyPtr, hipcMsgdBdySize(), hipcMsgdHdrPtr, hipcMsgdSetBdyForPut(), hipcMsgdStruno(), hipcMsgdType(), hipcsvsLedUpdate(), hipcUsocRead(), hipcUsocWriteMsgd(), and prm.
Referenced by hipcMain().
void hipcMain | ( | struct HIPC_usoc *const | so_p | ) |
Definition at line 79 of file hipcsvs_led.c.
References HIPC_ERR_S_IO_READ, HIPC_ERR_S_IO_WRITE, HIPC_ERR_S_V_UNINIT_MSG, HIPC_SUCCESS, hipcGenmdQuit, hipcsvsLedRun(), hipcUsocAcceptSimple(), and hipcUsocWriteMsgd().
|
static |
Definition at line 11 of file hipcsvs_led.c.
Referenced by hipcsvsLedInit(), and hipcsvsLedRun().