1 /* liblivejournal - a client library for LiveJournal.
2 * Copyright (C) 2003 Evan Martin <evan@livejournal.com>
4 * vim: tabstop=4 shiftwidth=4 noexpandtab :
7 #ifndef __LIVEJOURNAL_SYNCITEMS_H__
8 #define __LIVEJOURNAL_SYNCITEMS_H__
10 #include "liblj/verb.h"
13 typedef struct _LJSyncItems
{
16 GHashTable
*items
; /* itemid -> time */
18 /* note that count and total are just the values returned by syncitems,
19 * so count includes dups and total changes with each new batch. */
24 LJSyncItems
* lj_syncitems_new(LJUser
*user
, const char *usejournal
,
25 const char *lastsync
, GHashTable
*items
);
26 void lj_syncitems_free(LJSyncItems
*syncitems
, gboolean free_items
);
28 #endif /* __LIVEJOURNAL_SYNCITEMS_H__ */