comparison src/protocols/msn/state.h @ 9193:502707ca1836

[gaim-migrate @ 9988] Patch by Felipe Contreras to add MSN file transfer and buddy icons. Please test and report any bugs! committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 06 Jun 2004 02:39:08 +0000
parents 92cbf9713795
children ab6636c5a136
comparison
equal deleted inserted replaced
9192:5655dcd94d0f 9193:502707ca1836
40 } MsnAwayType; 40 } MsnAwayType;
41 41
42 #define MSN_AWAY_TYPE(x) (((x) >> 1) & 0x0F) 42 #define MSN_AWAY_TYPE(x) (((x) >> 1) & 0x0F)
43 43
44 /** 44 /**
45 * Changes the status of the user.
46 *
47 * @param session The MSN session.
48 * @param state The new state.
49 */
50 void msn_change_status(MsnSession *session, MsnAwayType state);
51
52 /**
45 * Returns the string representation of an away type. 53 * Returns the string representation of an away type.
46 * 54 *
47 * @param type The away type. 55 * @param type The away type.
48 * 56 *
49 * @return The string representation of the away type. 57 * @return The string representation of the away type.
50 */ 58 */
51 const char *msn_away_get_text(MsnAwayType type); 59 const char *msn_away_get_text(MsnAwayType type);
52 60
61 const char *msn_state_get_text(MsnAwayType state);
62
53 #endif /* _MSN_STATE_H_ */ 63 #endif /* _MSN_STATE_H_ */