Mercurial > pidgin.yaz
diff libpurple/protocols/msn/slpcall.h @ 29373:462cb893521b
Minor header file cleanup. Mostly I wanted to move some enums above some #includes
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 05 Feb 2010 22:49:11 +0000 |
parents | 59b0c556f787 |
children | 119bd7b072eb |
line wrap: on
line diff
--- a/libpurple/protocols/msn/slpcall.h Fri Feb 05 14:40:39 2010 +0000 +++ b/libpurple/protocols/msn/slpcall.h Fri Feb 05 22:49:11 2010 +0000 @@ -21,26 +21,26 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#ifndef _MSN_SLPCALL_H_ -#define _MSN_SLPCALL_H_ +#ifndef MSN_SLPCALL_H +#define MSN_SLPCALL_H + +typedef struct _MsnSlpCall MsnSlpCall; + +typedef enum +{ + MSN_SLPCALL_ANY, + MSN_SLPCALL_DC +} MsnSlpCallType; #include "internal.h" + #include "ft.h" -typedef struct _MsnSlpCall MsnSlpCall; - #include "slplink.h" /* The official client seems to timeout slp calls after 5 minutes */ #define MSN_SLPCALL_TIMEOUT 300 -typedef enum -{ - MSN_SLPCALL_ANY, - MSN_SLPCALL_DC - -} MsnSlpCallType; - struct _MsnSlpCall { /* Our parent slplink */ @@ -95,4 +95,4 @@ int app_id, const char *context); void msn_slpcall_close(MsnSlpCall *slpcall); -#endif /* _MSN_SLPCALL_H_ */ +#endif /* MSN_SLPCALL_H */