diff options
author | JP Rosevear <jpr@helixcode.com> | 2000-10-25 00:21:10 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2000-10-25 00:21:10 +0800 |
commit | e504870c44f30b89276793ef13905315c9495b95 (patch) | |
tree | 0bd1cef5f7c1418236349744ddfbb66e8e5f3ac3 /e-util/e-pilot-map.h | |
parent | a0ca956fc439bcf30a3b6a5a5af6907cfb3b8ab8 (diff) | |
download | gsoc2013-evolution-e504870c44f30b89276793ef13905315c9495b95.tar gsoc2013-evolution-e504870c44f30b89276793ef13905315c9495b95.tar.gz gsoc2013-evolution-e504870c44f30b89276793ef13905315c9495b95.tar.bz2 gsoc2013-evolution-e504870c44f30b89276793ef13905315c9495b95.tar.lz gsoc2013-evolution-e504870c44f30b89276793ef13905315c9495b95.tar.xz gsoc2013-evolution-e504870c44f30b89276793ef13905315c9495b95.tar.zst gsoc2013-evolution-e504870c44f30b89276793ef13905315c9495b95.zip |
Lookup a pid by uid. (e_pilot_map_lookup_uid): Lookup a uid by pid. Now
2000-10-23 JP Rosevear <jpr@helixcode.com>
* e-pilot-map.c (e_pilot_map_lookup_pid): Lookup a pid by uid.
(e_pilot_map_lookup_uid): Lookup a uid by pid.
Now this is wrapped, we can store archive info internally
* e-pilot-map.h: New accessor prototype
2000-10-23 JP Rosevear <jpr@helixcode.com>
* conduits/todo/todo-conduit.c (local_record_from_comp): Use
new e-pilot-map lookup function
(match): ditto
* conduits/calendar/calendar-conduit.c (local_record_from_comp): Use
new e-pilot-map lookup function
(match): ditto
svn path=/trunk/; revision=6146
Diffstat (limited to 'e-util/e-pilot-map.h')
-rw-r--r-- | e-util/e-pilot-map.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/e-util/e-pilot-map.h b/e-util/e-pilot-map.h index e910f43317..8e3d2b71f6 100644 --- a/e-util/e-pilot-map.h +++ b/e-util/e-pilot-map.h @@ -36,10 +36,12 @@ struct _EPilotMap time_t since; }; -gboolean e_pilot_map_pid_is_archived (EPilotMap *map, guint32 pilot_id); +gboolean e_pilot_map_pid_is_archived (EPilotMap *map, guint32 pid); gboolean e_pilot_map_uid_is_archived (EPilotMap *map, const char *uid); void e_pilot_map_insert (EPilotMap *map, guint32 pid, const char *uid, gboolean archived); +guint32 e_pilot_map_lookup_pid (EPilotMap *map, const char *uid); +const char * e_pilot_map_lookup_uid (EPilotMap *map, guint32 pid); int e_pilot_map_read (const char *filename, EPilotMap **map); int e_pilot_map_write (const char *filename, EPilotMap *map); |