| 71 * Destroys a message. |
73 * Destroys a message. |
| 72 */ |
74 */ |
| 73 void msn_message_destroy(MsnMessage *msg); |
75 void msn_message_destroy(MsnMessage *msg); |
| 74 |
76 |
| 75 /** |
77 /** |
| |
78 * Increments the reference count on a message. |
| |
79 * |
| |
80 * @param msg The message. |
| |
81 * |
| |
82 * @return @a msg |
| |
83 */ |
| |
84 MsnMessage *msn_message_ref(MsnMessage *msg); |
| |
85 |
| |
86 /** |
| |
87 * Decrements the reference count on a message. |
| |
88 * |
| |
89 * This will destroy the structure if the count hits 0. |
| |
90 * |
| |
91 * @param msg The message. |
| |
92 * |
| |
93 * @return @a msg, or @c NULL if the new count is 0. |
| |
94 */ |
| |
95 MsnMessage *msn_message_unref(MsnMessage *msg); |
| |
96 |
| |
97 /** |
| 76 * Converts a message to a string. |
98 * Converts a message to a string. |
| 77 * |
99 * |
| 78 * @param msg The message. |
100 * @param msg The message. |
| 79 * |
101 * |
| 80 * @return The string representation of a message. |
102 * @return The string representation of a message. |