| libmpd.h | | libmpd.h | |
| | | | |
| skipping to change at line 375 | | skipping to change at line 375 | |
| * Signal that get's called when the state of mpd changed. Look #ChangedSta
tusType to see the possible events. | | * Signal that get's called when the state of mpd changed. Look #ChangedSta
tusType to see the possible events. | |
| */ | | */ | |
| typedef void (*StatusChangedCallback) (MpdObj * mi, ChangedStatusType what,
void *userdata); | | typedef void (*StatusChangedCallback) (MpdObj * mi, ChangedStatusType what,
void *userdata); | |
| | | | |
| /** | | /** | |
| * @param mi a #MpdObj | | * @param mi a #MpdObj | |
| * @param id The error Code. | | * @param id The error Code. | |
| * @param msg human-readable informative error message. | | * @param msg human-readable informative error message. | |
| * @param userdata user data set when the signal handler was connected. | | * @param userdata user data set when the signal handler was connected. | |
| * This signal is called when an error has occured in the communication wit
h mpd. | | * This signal is called when an error has occured in the communication wit
h mpd. | |
|
| | | * | |
| | | * return: TRUE if libmpd should disconnect. | |
| */ | | */ | |
|
| typedef void (*ErrorCallback) (MpdObj * mi, int id, char *msg, void *userda
ta); | | typedef int (*ErrorCallback) (MpdObj * mi, int id, char *msg, void *userdat
a); | |
| | | | |
| /** | | /** | |
| * @param mi a #MpdObj | | * @param mi a #MpdObj | |
| * @param connect 1 if you are now connect, 0 if you are disconnect. | | * @param connect 1 if you are now connect, 0 if you are disconnect. | |
| * @param userdata user data set when the signal handler was connected. | | * @param userdata user data set when the signal handler was connected. | |
| * Signal is triggered when the connection state changes. | | * Signal is triggered when the connection state changes. | |
| */ | | */ | |
| | | | |
| typedef void (*ConnectionChangedCallback) (MpdObj * mi, int connect, void *
userdata); | | typedef void (*ConnectionChangedCallback) (MpdObj * mi, int connect, void *
userdata); | |
| | | | |
| | | | |
End of changes. 2 change blocks. |
| 1 lines changed or deleted | | 3 lines changed or added | |
|