projects
/
cascardo
/
f2fchat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add the friend cache.
[cascardo/f2fchat.git]
/
f2fchat.c
diff --git
a/f2fchat.c
b/f2fchat.c
index
711811c
..
55bdc5a
100644
(file)
--- a/
f2fchat.c
+++ b/
f2fchat.c
@@
-16,7
+16,18
@@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#include "friend.h"
+
int main(int argc, char **argv)
{
int main(int argc, char **argv)
{
+ struct cache *cache;
+ int out = 0;
+ create_cache(&cache);
+ load_cache(cache, "friends.cache");
+ while (!out) {
+ out = 1;
+ }
+ store_cache(cache, "friends.cache");
+ destroy_cache(cache);
return 0;
}
return 0;
}