mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
we usually do it like this, but maybe we should do it like you say?
This commit is contained in:
parent
777d4960c2
commit
c0ec7c3e21
2 changed files with 6 additions and 6 deletions
|
@ -19,8 +19,8 @@ typedef enum PsycMethod {
|
||||||
PSYC_MC_ECHO_HELLO,
|
PSYC_MC_ECHO_HELLO,
|
||||||
PSYC_MC_ERROR,
|
PSYC_MC_ERROR,
|
||||||
PSYC_MC_FAILURE,
|
PSYC_MC_FAILURE,
|
||||||
PSYC_MC_FAILURE_ALIAS_NONEXISTANT,
|
PSYC_MC_FAILURE_UNKNOWN_ALIAS,
|
||||||
PSYC_MC_FAILURE_ALIAS_UNAVAILABLE,
|
PSYC_MC_FAILURE_UNAVAILABLE_ALIAS,
|
||||||
PSYC_MC_INFO,
|
PSYC_MC_INFO,
|
||||||
PSYC_MC_MESSAGE,
|
PSYC_MC_MESSAGE,
|
||||||
PSYC_MC_MESSAGE_ACTION,
|
PSYC_MC_MESSAGE_ACTION,
|
||||||
|
|
|
@ -54,8 +54,8 @@ const PsycDictInt psyc_methods[] = {
|
||||||
{ PSYC_C2STRI("_echo_context_leave"), PSYC_MC_ECHO_CONTEXT_LEAVE },
|
{ PSYC_C2STRI("_echo_context_leave"), PSYC_MC_ECHO_CONTEXT_LEAVE },
|
||||||
{ PSYC_C2STRI("_echo_hello"), PSYC_MC_ECHO_HELLO },
|
{ PSYC_C2STRI("_echo_hello"), PSYC_MC_ECHO_HELLO },
|
||||||
{ PSYC_C2STRI("_echo"), PSYC_MC_ECHO },
|
{ PSYC_C2STRI("_echo"), PSYC_MC_ECHO },
|
||||||
{ PSYC_C2STRI("_failure_alias_nonexistant"),PSYC_MC_FAILURE_ALIAS_NONEXISTANT },
|
{ PSYC_C2STRI("_failure_alias_nonexistant"),PSYC_MC_FAILURE_UNKNOWN_ALIAS },
|
||||||
{ PSYC_C2STRI("_failure_alias_unavailable"),PSYC_MC_FAILURE_ALIAS_UNAVAILABLE },
|
{ PSYC_C2STRI("_failure_alias_unavailable"),PSYC_MC_FAILURE_UNAVAILABLE_ALIAS },
|
||||||
{ PSYC_C2STRI("_failure"), PSYC_MC_FAILURE },
|
{ PSYC_C2STRI("_failure"), PSYC_MC_FAILURE },
|
||||||
{ PSYC_C2STRI("_info"), PSYC_MC_INFO },
|
{ PSYC_C2STRI("_info"), PSYC_MC_INFO },
|
||||||
{ PSYC_C2STRI("_message_action"), PSYC_MC_MESSAGE_ACTION },
|
{ PSYC_C2STRI("_message_action"), PSYC_MC_MESSAGE_ACTION },
|
||||||
|
@ -111,8 +111,8 @@ psyc_method (char *method, size_t methodlen, PsycMethod *family, unsigned int *f
|
||||||
| PSYC_METHOD_LOGGABLE;
|
| PSYC_METHOD_LOGGABLE;
|
||||||
break;
|
break;
|
||||||
case PSYC_MC_FAILURE:
|
case PSYC_MC_FAILURE:
|
||||||
case PSYC_MC_FAILURE_ALIAS_NONEXISTANT:
|
case PSYC_MC_FAILURE_UNKNOWN_ALIAS:
|
||||||
case PSYC_MC_FAILURE_ALIAS_UNAVAILABLE:
|
case PSYC_MC_FAILURE_UNAVAILABLE_ALIAS:
|
||||||
*family = PSYC_MC_FAILURE;
|
*family = PSYC_MC_FAILURE;
|
||||||
*flag = PSYC_METHOD_TEMPLATE | PSYC_METHOD_REPLY | PSYC_METHOD_VISIBLE
|
*flag = PSYC_METHOD_TEMPLATE | PSYC_METHOD_REPLY | PSYC_METHOD_VISIBLE
|
||||||
| PSYC_METHOD_LOGGABLE;
|
| PSYC_METHOD_LOGGABLE;
|
||||||
|
|
Loading…
Reference in a new issue