1
0
Fork 0
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:
psyc://psyced.org/~lynX 2012-01-27 15:57:02 +01:00
parent 8fcceff88f
commit a6f41c6754
2 changed files with 6 additions and 6 deletions

View file

@ -19,8 +19,8 @@ typedef enum PsycMethod {
PSYC_MC_ECHO_HELLO,
PSYC_MC_ERROR,
PSYC_MC_FAILURE,
PSYC_MC_FAILURE_ALIAS_NONEXISTANT,
PSYC_MC_FAILURE_ALIAS_UNAVAILABLE,
PSYC_MC_FAILURE_UNKNOWN_ALIAS,
PSYC_MC_FAILURE_UNAVAILABLE_ALIAS,
PSYC_MC_INFO,
PSYC_MC_MESSAGE,
PSYC_MC_MESSAGE_ACTION,

View file

@ -54,8 +54,8 @@ const PsycDictInt psyc_methods[] = {
{ PSYC_C2STRI("_echo_context_leave"), PSYC_MC_ECHO_CONTEXT_LEAVE },
{ PSYC_C2STRI("_echo_hello"), PSYC_MC_ECHO_HELLO },
{ PSYC_C2STRI("_echo"), PSYC_MC_ECHO },
{ PSYC_C2STRI("_failure_alias_nonexistant"),PSYC_MC_FAILURE_ALIAS_NONEXISTANT },
{ PSYC_C2STRI("_failure_alias_unavailable"),PSYC_MC_FAILURE_ALIAS_UNAVAILABLE },
{ PSYC_C2STRI("_failure_alias_nonexistant"),PSYC_MC_FAILURE_UNKNOWN_ALIAS },
{ PSYC_C2STRI("_failure_alias_unavailable"),PSYC_MC_FAILURE_UNAVAILABLE_ALIAS },
{ PSYC_C2STRI("_failure"), PSYC_MC_FAILURE },
{ PSYC_C2STRI("_info"), PSYC_MC_INFO },
{ 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;
break;
case PSYC_MC_FAILURE:
case PSYC_MC_FAILURE_ALIAS_NONEXISTANT:
case PSYC_MC_FAILURE_ALIAS_UNAVAILABLE:
case PSYC_MC_FAILURE_UNKNOWN_ALIAS:
case PSYC_MC_FAILURE_UNAVAILABLE_ALIAS:
*family = PSYC_MC_FAILURE;
*flag = PSYC_METHOD_TEMPLATE | PSYC_METHOD_REPLY | PSYC_METHOD_VISIBLE
| PSYC_METHOD_LOGGABLE;