Add the friend cache.
[cascardo/f2fchat.git] / f2fchat.c
index 711811c..55bdc5a 100644 (file)
--- a/f2fchat.c
+++ b/f2fchat.c
  *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
+#include "friend.h"
+
 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;
 }