From: Mark Doliner <thekingant@us...> - 2004-09-11 03:37:25
Update of /cvsroot/gaim/gaim
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7818
More deprecation of serv_got_update or whatever it's called.
Is all the sound and logging stuff done in the new code? I didn't
RCS file: /cvsroot/gaim/gaim/HACKING,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -p -r1.38 -r1.39
--- HACKING 8 Aug 2004 05:37:58 -0000 1.38
+++ HACKING 11 Sep 2004 03:37:15 -0000 1.39
@@ -103,8 +103,8 @@ After you're signed in, Gaim draws the b
show_buddy_list. Assuming the user has a buddy list (all buddy list
functions are controlled by list.c; when you sign on do_import is called
and that loads the locally saved list), the protocol calls
-serv_got_update, which sets the information in the appropriate struct
-buddy and then passes it off to set_buddy.
+gaim_prpl_got functions, which set the information in the appropriate
+struct buddy and then passes it off to set_buddy.
set_buddy is responsible for a lot of stuff, but most of it is done
implicitly. It's responsible for the sounds (which is just a call to
@@ -242,8 +242,8 @@ prpl.c:
This is where all of the differentiation between the different protocols
is done. Nearly everything that's network related goes through here
- at one point or another. This has good things like serv_send_im and
- serv_got_update. Most of it should be pretty self-explanatory.
+ at one point or another. This has good things like serv_send_im. Most of
+ it should be pretty self-explanatory.
The main function in this file is play_sound, which plays one of 8
@@ -339,9 +339,8 @@ in a prpl struct and kept track of in th
management of the protocols is, there will only ever be one prpl per
numeric protocol. Each prpl defines a basic set of functions: login,
logout, send_im, etc. The prpl is responsible not only for handling
-these functions, but also for calling the appropriate serv_got functions
-(e.g. serv_got_update when a buddy comes online/goes offline/goes
-idle/etc). It handles each of these on a per-connection basis.
+these functions, but also for calling the appropriate prpl_got functions
+It handles each of these on a per-account basis.
So why's it called a PRPL? It stands for PRotocol PLugin. That means
that it's possible to dynamically add new protocols to gaim. However,