diff options
author | Will Thompson <resiak@pidgin.im> | 2007-10-28 16:32:37 +0000 |
---|---|---|
committer | Will Thompson <resiak@pidgin.im> | 2007-10-28 16:32:37 +0000 |
commit | c4bceaf81973b0cfe063a146d47c81dd540268ec (patch) | |
tree | db4ce39399ae33c32d89642cd8da240851062513 /libpurple/connection.h | |
parent | 7394fa38207fb64939d725d4b4773e4c104fe14c (diff) | |
download | pidgin-c4bceaf81973b0cfe063a146d47c81dd540268ec.tar.gz |
PurpleConnectionErrorPair is a better name for struct { PurpleConnectionError;
const char *desc } than PurpleAccountCurrentError.
Diffstat (limited to 'libpurple/connection.h')
-rw-r--r-- | libpurple/connection.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libpurple/connection.h b/libpurple/connection.h index 831789d014..7f8436acb2 100644 --- a/libpurple/connection.h +++ b/libpurple/connection.h @@ -126,6 +126,15 @@ typedef enum PURPLE_CONNECTION_ERROR_OTHER_ERROR = 15 } PurpleConnectionError; +/** Holds the type of an error along with its description. */ +typedef struct +{ + /** The type of error. */ + PurpleConnectionError type; + /** A localised, human-readable description of the error. */ + const char *description; +} PurpleConnectionErrorPair; + #include <time.h> #include "account.h" |