comparison src/protocols/oscar/aim.h @ 3912:e73c48cf1645

[gaim-migrate @ 4071] Little touchups in the "admin" family. Not much has changed, but I moved some functions around because I'm weird. (This is the stuff in "protocol actions" for oscar accounts.) Some of the dialogs should look a little more, I dunno, uniform or something. Change password, format screenname, and change current registered screen name should give you some slightly userfriendly error messages now. Also "confirm account" will pop up that little message that says you should be expecting an email... I think that was one of those brain mistakes, where something was backwards, or something. Uh, so let me know if you see any problems with any of that. Why did I work on this instead of ssi? I don't know. This is funner, I guess. I'll get to ssi eventually... Meow. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 07 Nov 2002 02:25:12 +0000
parents 43e396e94095
children 07283934dedd
comparison
equal deleted inserted replaced
3911:816cfd8dae78 3912:e73c48cf1645
553 char *errorurl; 553 char *errorurl;
554 fu16_t regstatus; 554 fu16_t regstatus;
555 char *email; 555 char *email;
556 char *bosip; 556 char *bosip;
557 fu8_t *cookie; 557 fu8_t *cookie;
558 char *chpassurl;
558 struct aim_clientrelease latestrelease; 559 struct aim_clientrelease latestrelease;
559 struct aim_clientrelease latestbeta; 560 struct aim_clientrelease latestbeta;
560 }; 561 };
561 562
562 /* Callback data for redirect. */ 563 /* Callback data for redirect. */
609 faim_export void aim_setupproxy(aim_session_t *sess, const char *server, const char *username, const char *password); 610 faim_export void aim_setupproxy(aim_session_t *sess, const char *server, const char *username, const char *password);
610 faim_export aim_conn_t *aim_getconn_type(aim_session_t *, int type); 611 faim_export aim_conn_t *aim_getconn_type(aim_session_t *, int type);
611 faim_export aim_conn_t *aim_getconn_type_all(aim_session_t *, int type); 612 faim_export aim_conn_t *aim_getconn_type_all(aim_session_t *, int type);
612 faim_export aim_conn_t *aim_getconn_fd(aim_session_t *, int fd); 613 faim_export aim_conn_t *aim_getconn_fd(aim_session_t *, int fd);
613 614
614 /* aim_misc.c */ 615 /* misc.c */
615 616
616 #define AIM_VISIBILITYCHANGE_PERMITADD 0x05 617 #define AIM_VISIBILITYCHANGE_PERMITADD 0x05
617 #define AIM_VISIBILITYCHANGE_PERMITREMOVE 0x06 618 #define AIM_VISIBILITYCHANGE_PERMITREMOVE 0x06
618 #define AIM_VISIBILITYCHANGE_DENYADD 0x07 619 #define AIM_VISIBILITYCHANGE_DENYADD 0x07
619 #define AIM_VISIBILITYCHANGE_DENYREMOVE 0x08 620 #define AIM_VISIBILITYCHANGE_DENYREMOVE 0x08
655 #define AIM_RATE_CODE_WARNING 0x0002 656 #define AIM_RATE_CODE_WARNING 0x0002
656 #define AIM_RATE_CODE_LIMIT 0x0003 657 #define AIM_RATE_CODE_LIMIT 0x0003
657 #define AIM_RATE_CODE_CLEARLIMIT 0x0004 658 #define AIM_RATE_CODE_CLEARLIMIT 0x0004
658 faim_export int aim_ads_requestads(aim_session_t *sess, aim_conn_t *conn); 659 faim_export int aim_ads_requestads(aim_session_t *sess, aim_conn_t *conn);
659 660
660 /* aim_im.c */ 661 /* im.c */
661 662
662 struct aim_fileheader_t { 663 struct aim_fileheader_t {
663 #if 0 664 #if 0
664 char magic[4]; /* 0 */ 665 char magic[4]; /* 0 */
665 short hdrlen; /* 4 */ 666 short hdrlen; /* 4 */
901 const char *name, int filesdone, int numfiles, int size, 902 const char *name, int filesdone, int numfiles, int size,
902 int totsize); 903 int totsize);
903 faim_export int aim_oft_getfile_ack(aim_session_t *sess, aim_conn_t *conn); 904 faim_export int aim_oft_getfile_ack(aim_session_t *sess, aim_conn_t *conn);
904 faim_export int aim_oft_end(aim_session_t *sess, aim_conn_t *conn); 905 faim_export int aim_oft_end(aim_session_t *sess, aim_conn_t *conn);
905 906
906 /* aim_info.c */ 907 /* info.c */
907 #define AIM_CAPS_BUDDYICON 0x00000001 908 #define AIM_CAPS_BUDDYICON 0x00000001
908 #define AIM_CAPS_VOICE 0x00000002 909 #define AIM_CAPS_VOICE 0x00000002
909 #define AIM_CAPS_IMIMAGE 0x00000004 910 #define AIM_CAPS_IMIMAGE 0x00000004
910 #define AIM_CAPS_CHAT 0x00000008 911 #define AIM_CAPS_CHAT 0x00000008
911 #define AIM_CAPS_GETFILE 0x00000010 912 #define AIM_CAPS_GETFILE 0x00000010
1135 }; 1136 };
1136 1137
1137 faim_export int aim_email_sendcookies(aim_session_t *sess, aim_conn_t *conn); 1138 faim_export int aim_email_sendcookies(aim_session_t *sess, aim_conn_t *conn);
1138 faim_export int aim_email_activate(aim_session_t *sess, aim_conn_t *conn); 1139 faim_export int aim_email_activate(aim_session_t *sess, aim_conn_t *conn);
1139 1140
1140 /* aim_util.c */ 1141 /* util.c */
1141 /* 1142 /*
1142 * These are really ugly. You'd think this was LISP. I wish it was. 1143 * These are really ugly. You'd think this was LISP. I wish it was.
1143 * 1144 *
1144 * XXX With the advent of bstream's, these should be removed to enforce 1145 * XXX With the advent of bstream's, these should be removed to enforce
1145 * their use. 1146 * their use.
1200 faim_export int aim_sncmp(const char *sn1, const char *sn2); 1201 faim_export int aim_sncmp(const char *sn1, const char *sn2);
1201 1202
1202 /* for libc's that dont have it */ 1203 /* for libc's that dont have it */
1203 faim_export char *aim_strsep(char **pp, const char *delim); 1204 faim_export char *aim_strsep(char **pp, const char *delim);
1204 1205
1205 /* aim_meta.c */ 1206 /* meta.c */
1206 faim_export char *aim_getbuilddate(void); 1207 faim_export char *aim_getbuilddate(void);
1207 faim_export char *aim_getbuildtime(void); 1208 faim_export char *aim_getbuildtime(void);
1208 faim_export int aim_getbuildstring(char *buf, int buflen); 1209 faim_export int aim_getbuildstring(char *buf, int buflen);
1209 1210
1210 #include <aim_internal.h> 1211 #include <aim_internal.h>