# sync

## Name

sync --

## Synopsis

    enum        LJSyncProgress;
    gboolean    (*LJPutLastSyncCallback)        (gpointer,
                                                 const char*,
                                                 GError**);
    gboolean    (*LJRunVerbCallback)            (gpointer,
                                                 LJVerb*,
                                                 GError**);
    gboolean    (*LJPutEntryCallback)           (gpointer,
                                                 LJEntry*,
                                                 GError**);
    void        (*LJSyncProgressCallback)       (gpointer,
                                                 LJSyncProgress,
                                                 int cur,
                                                 int max,
                                                 const char *date);
    gboolean    lj_sync_run                     (LJUser *user,
                                                 const char *usejournal,
                                                 const char *lastsync,
                                                 LJPutLastSyncCallback put_lastsync_cb,
                                                 LJRunVerbCallback run_verb_cb,
                                                 LJPutEntryCallback put_entry_cb,
                                                 LJSyncProgressCallback sync_progress_cb,
                                                 gpointer user_data,
                                                 GSList **warnings,
                                                 GError **err);

## Description

## Details

### enum LJSyncProgress

    typedef enum {
    	LJ_SYNC_PROGRESS_ITEMS,
    	LJ_SYNC_PROGRESS_ENTRIES,
    } LJSyncProgress;

### LJPutLastSyncCallback ()

    gboolean    (*LJPutLastSyncCallback)        (gpointer,
                                                 const char*,
                                                 GError**);

Param1 : |
Param2 : |
Param3 : |
Returns : |

### LJRunVerbCallback ()

    gboolean    (*LJRunVerbCallback)            (gpointer,
                                                 LJVerb*,
                                                 GError**);

Param1 : |
Param2 : |
Param3 : |
Returns : |

### LJPutEntryCallback ()

    gboolean    (*LJPutEntryCallback)           (gpointer,
                                                 LJEntry*,
                                                 GError**);

Param1 : |
Param2 : |
Param3 : |
Returns : |

### LJSyncProgressCallback ()

    void        (*LJSyncProgressCallback)       (gpointer,
                                                 LJSyncProgress,
                                                 int cur,
                                                 int max,
                                                 const char *date);

Param1 : |
Param2 : |
cur : |
max : |
date : |

### lj_sync_run ()

    gboolean    lj_sync_run                     (LJUser *user,
                                                 const char *usejournal,
                                                 const char *lastsync,
                                                 LJPutLastSyncCallback put_lastsync_cb,
                                                 LJRunVerbCallback run_verb_cb,
                                                 LJPutEntryCallback put_entry_cb,
                                                 LJSyncProgressCallback sync_progress_cb,
                                                 gpointer user_data,
                                                 GSList **warnings,
                                                 GError **err);

user : |
usejournal : |
lastsync : |
put_lastsync_cb : |
run_verb_cb : |
put_entry_cb : |
sync_progress_cb : |
user_data : |
warnings : |
err : |
Returns : |