MOS Source Code
Loading...
Searching...
No Matches
rpc.h File Reference
+ Include dependency graph for rpc.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  rpc_argtype_t {
  RPC_ARGTYPE_FLOAT32 , RPC_ARGTYPE_FLOAT64 , RPC_ARGTYPE_INT8 , RPC_ARGTYPE_INT16 ,
  RPC_ARGTYPE_INT32 , RPC_ARGTYPE_INT64 , RPC_ARGTYPE_UINT8 , RPC_ARGTYPE_UINT16 ,
  RPC_ARGTYPE_UINT32 , RPC_ARGTYPE_UINT64 , RPC_ARGTYPE_STRING , RPC_ARGTYPE_BUFFER
}
 
enum  rpc_result_code_t {
  RPC_RESULT_OK , RPC_RESULT_SERVER_INVALID_FUNCTION , RPC_RESULT_SERVER_INVALID_ARG_COUNT , RPC_RESULT_SERVER_INTERNAL_ERROR ,
  RPC_RESULT_INVALID_ARGUMENT , RPC_RESULT_CLIENT_INVALID_ARGSPEC , RPC_RESULT_CLIENT_WRITE_FAILED , RPC_RESULT_CLIENT_READ_FAILED ,
  RPC_RESULT_CALLID_MISMATCH , RPC_RESULT_NOT_IMPLEMENTED
}
 

Enumeration Type Documentation

◆ rpc_argtype_t

Enumerator
RPC_ARGTYPE_FLOAT32 
RPC_ARGTYPE_FLOAT64 
RPC_ARGTYPE_INT8 
RPC_ARGTYPE_INT16 
RPC_ARGTYPE_INT32 
RPC_ARGTYPE_INT64 
RPC_ARGTYPE_UINT8 
RPC_ARGTYPE_UINT16 
RPC_ARGTYPE_UINT32 
RPC_ARGTYPE_UINT64 
RPC_ARGTYPE_STRING 
RPC_ARGTYPE_BUFFER 

Definition at line 8 of file rpc.h.

◆ rpc_result_code_t

Enumerator
RPC_RESULT_OK 
RPC_RESULT_SERVER_INVALID_FUNCTION 
RPC_RESULT_SERVER_INVALID_ARG_COUNT 
RPC_RESULT_SERVER_INTERNAL_ERROR 
RPC_RESULT_INVALID_ARGUMENT 
RPC_RESULT_CLIENT_INVALID_ARGSPEC 
RPC_RESULT_CLIENT_WRITE_FAILED 
RPC_RESULT_CLIENT_READ_FAILED 
RPC_RESULT_CALLID_MISMATCH 
RPC_RESULT_NOT_IMPLEMENTED 

Definition at line 24 of file rpc.h.