[geoloc] fix missing symbol
authorMyhailo Danylenko <isbear@ukrpost.net>
Sun, 23 Sep 2012 15:38:29 +0300
changeset 40 574e404ab82f
parent 39 191274b96f06
child 41 cfb02882828d
[geoloc] fix missing symbol
docs/todo.mdwn
pep_geoloc.c
--- a/docs/todo.mdwn	Mon Aug 20 18:59:40 2012 +0300
+++ b/docs/todo.mdwn	Sun Sep 23 15:38:29 2012 +0300
@@ -5,11 +5,21 @@
 * extract common code into one place
 * add avatar
   * pep_avatar, avatar_cache, avatar, aavatar (separate)
-    *       hook_avatar_metadata_in                               @ pep_avatar  
-          | hook_avatar_need_data_in (or symbol-resolved request) @ avatar_cache  
-          V hook_avatar_data_in                                   @ pep_avatar  
-            hook_avatar_in                                        @ avatar_cache
-    * (!!!) how to handle outgoing event? what and where should do what?
+    * in
+      * !avatar-metadata-in        @ pep_avatar  
+      * symbol-resolved request    @ avatar_cache  
+      * !avatar-data-in            @ pep_avatar  
+      * !avatar-in (file)          @ avatar_cache
+      * print, printaa             @ avatar, aavatar
+    * out
+      * avatar_cache     calculates hash and saves hash to cache(, links jid to hash?)
+      * avatar_cache     !avatar-data-out
+      * pep_avatar       sends data
+      * pep_avatar       reports error/notify of success (does static handler have node info?)
+      * avatar_cache     gets file from cache, calculates metadata, !avatar-metadata-out
+      * pep_avatar       sends metadata
+      * pep_avatar       reports error/(notify of success?)
+      * avatar_cache     (links jid to hash?)
   * handle url avatars (curl)
   * report absence of avatar
 
--- a/pep_geoloc.c	Mon Aug 20 18:59:40 2012 +0300
+++ b/pep_geoloc.c	Sun Sep 23 15:38:29 2012 +0300
@@ -276,7 +276,7 @@
 	}
 }
 
-gboolean geoloc_request ( const gchar *to, GError **err )
+gboolean pep_geoloc_request ( const gchar *to, GError **err )
 {
 
 	LmMessage     *request;