Mercurial > pidgin.yaz
comparison src/protocols/trepia/profile.h @ 5752:90eea4997759
[gaim-migrate @ 6177]
Trepia connections are a bit better now. People's usernames are now their
usernames and not their ID numbers. Some things are faster, I think.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Wed, 04 Jun 2003 19:46:48 +0000 |
parents | 99ae9bd8b5fa |
children | d42d2c9c2122 |
comparison
equal
deleted
inserted
replaced
5751:2951d2435196 | 5752:90eea4997759 |
---|---|
25 #include <glib.h> | 25 #include <glib.h> |
26 #include <time.h> | 26 #include <time.h> |
27 | 27 |
28 typedef struct | 28 typedef struct |
29 { | 29 { |
30 int type; /* c */ | |
31 | |
30 int id; /* a */ | 32 int id; /* a */ |
31 char *location; /* p */ | 33 char *location; /* p */ |
32 time_t login_time; /* b */ | 34 time_t login_time; /* b */ |
33 char *login; /* d */ | 35 char *login; /* d */ |
34 int age; /* m */ | 36 int age; /* m */ |
52 } TrepiaProfile; | 54 } TrepiaProfile; |
53 | 55 |
54 TrepiaProfile *trepia_profile_new(void); | 56 TrepiaProfile *trepia_profile_new(void); |
55 void trepia_profile_destroy(TrepiaProfile *profile); | 57 void trepia_profile_destroy(TrepiaProfile *profile); |
56 | 58 |
59 void trepia_profile_set_type(TrepiaProfile *profile, int value); | |
57 void trepia_profile_set_id(TrepiaProfile *profile, int value); | 60 void trepia_profile_set_id(TrepiaProfile *profile, int value); |
58 void trepia_profile_set_location(TrepiaProfile *profile, const char *value); | 61 void trepia_profile_set_location(TrepiaProfile *profile, const char *value); |
59 void trepia_profile_set_login_time(TrepiaProfile *profile, time_t value); | 62 void trepia_profile_set_login_time(TrepiaProfile *profile, time_t value); |
60 void trepia_profile_set_login(TrepiaProfile *profile, const char *value); | 63 void trepia_profile_set_login(TrepiaProfile *profile, const char *value); |
61 void trepia_profile_set_age(TrepiaProfile *profile, int value); | 64 void trepia_profile_set_age(TrepiaProfile *profile, int value); |
74 void trepia_profile_set_city(TrepiaProfile *profile, const char *value); | 77 void trepia_profile_set_city(TrepiaProfile *profile, const char *value); |
75 void trepia_profile_set_languages(TrepiaProfile *profile, const char *value); | 78 void trepia_profile_set_languages(TrepiaProfile *profile, const char *value); |
76 void trepia_profile_set_school(TrepiaProfile *profile, const char *value); | 79 void trepia_profile_set_school(TrepiaProfile *profile, const char *value); |
77 void trepia_profile_set_company(TrepiaProfile *profile, const char *value); | 80 void trepia_profile_set_company(TrepiaProfile *profile, const char *value); |
78 | 81 |
82 int trepia_profile_get_type(const TrepiaProfile *profile); | |
79 int trepia_profile_get_id(const TrepiaProfile *profile); | 83 int trepia_profile_get_id(const TrepiaProfile *profile); |
80 const char *trepia_profile_get_location(const TrepiaProfile *profile); | 84 const char *trepia_profile_get_location(const TrepiaProfile *profile); |
81 time_t trepia_profile_get_login_time(const TrepiaProfile *profile); | 85 time_t trepia_profile_get_login_time(const TrepiaProfile *profile); |
82 const char *trepia_profile_get_login(const TrepiaProfile *profile); | 86 const char *trepia_profile_get_login(const TrepiaProfile *profile); |
83 int trepia_profile_get_age(const TrepiaProfile *profile); | 87 int trepia_profile_get_age(const TrepiaProfile *profile); |