Mercurial > pidgin.yaz
comparison src/protocols/oscar/conn.c @ 7282:ad243bc63184
[gaim-migrate @ 7861]
Mostly this is my usual blah clean-up/changes.
I started merging that icq sms patch, but I'm not comfortable
with much of it...
I also made AIM have 6 login steps instead of 2. The first
few go pretty quickly though. I'll probably work on this
more later, but I'm going to sleep now.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 16 Oct 2003 06:12:43 +0000 |
parents | 237ad253dd34 |
children | b8fcbff88438 |
comparison
equal
deleted
inserted
replaced
7281:0f7dd6715a90 | 7282:ad243bc63184 |
---|---|
850 | 850 |
851 return; | 851 return; |
852 } | 852 } |
853 | 853 |
854 /** | 854 /** |
855 * aim_session_init - Initializes a session structure | 855 * Initializes a session structure by setting the initial values |
856 * @sess: Session to initialize | 856 * stuff in the aim_session_t struct. |
857 * @flags: Flags to use. Any of %AIM_SESS_FLAGS %OR'd together. | 857 * |
858 * @debuglevel: Level of debugging output (zero is least) | 858 * @param sess Session to initialize. |
859 * | 859 * @param flags Flags to use. nAny of %AIM_SESS_FLAGS %OR'd together. |
860 * Sets up the initial values for a session. | 860 * @param debuglevel Level of debugging output (zero is least). |
861 * | |
862 */ | 861 */ |
863 faim_export void aim_session_init(aim_session_t *sess, fu32_t flags, int debuglevel) | 862 faim_export void aim_session_init(aim_session_t *sess, fu32_t flags, int debuglevel) |
864 { | 863 { |
865 | 864 |
866 if (!sess) | 865 if (!sess) |
894 sess->ssi.timestamp = (time_t)0; | 893 sess->ssi.timestamp = (time_t)0; |
895 sess->ssi.waiting_for_ack = 0; | 894 sess->ssi.waiting_for_ack = 0; |
896 | 895 |
897 sess->authinfo = NULL; | 896 sess->authinfo = NULL; |
898 | 897 |
899 /* | |
900 * Default to SNAC login unless XORLOGIN is explicitly set. | |
901 */ | |
902 if (!(flags & AIM_SESS_FLAGS_XORLOGIN)) | |
903 sess->flags |= AIM_SESS_FLAGS_SNACLOGIN; | |
904 sess->flags |= flags; | 898 sess->flags |= flags; |
905 | 899 |
906 /* | 900 /* |
907 * This must always be set. Default to the queue-based | 901 * This must always be set. Default to the queue-based |
908 * version for back-compatibility. | 902 * version for back-compatibility. |