return_code enumeration

Specifies possible return codes.

Syntax
typedef enum return_code {
    OK,
    BAD_STREAM_NAME,
    BAD_STREAM_PARAM,
    CONNECT_FAILED,
    KEY_NOT_FOUND,
    SUBJECT_OVERFLOW,
    CONTENT_OVERFLOW,
    COMMUNICATION_ERROR,
    AUTH_FAILED,
    NYI
} return_code;
Members
Name Description
AUTH_FAILED

Failed to authenticate the connection to the MobiLink server.

BAD_STREAM_NAME

Unrecognizable stream name.

BAD_STREAM_PARAM

Failed parsing a stream parameter.

COMMUNICATION_ERROR

Failed due to a communication error.

CONNECT_FAILED

Failed to connect to the MobiLink server.

CONTENT_OVERFLOW

The content buffer is too small.

KEY_NOT_FOUND

There is no push notification for the specified key from the specified Notifier.

NYI

For internal use only.

OK

Method ran successfully.

SUBJECT_OVERFLOW

The subject buffer is too small.