diff options
| author | erdgeist <> | 2007-11-06 11:58:32 +0000 | 
|---|---|---|
| committer | erdgeist <> | 2007-11-06 11:58:32 +0000 | 
| commit | 8900cc0dd980cb08a0af957a1d0dd849bf3c2ac6 (patch) | |
| tree | 70aeed1dbaceea343e6ebd000d46df025bae21fc /ot_sync.h | |
| parent | 5749f1d8fe80cbb84d66a265bcf9bafe159985ab (diff) | |
No one can get access to buckets now without locking them. Also split up the trackerlogic.c-monster in functional sub-units. HEADS UP: this code is untested and not considered stable.
Diffstat (limited to 'ot_sync.h')
| -rw-r--r-- | ot_sync.h | 14 | 
1 files changed, 14 insertions, 0 deletions
| diff --git a/ot_sync.h b/ot_sync.h new file mode 100644 index 0000000..cf0fb3d --- /dev/null +++ b/ot_sync.h | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | /* This software was written by Dirk Engling <erdgeist@erdgeist.org> | ||
| 2 | It is considered beerware. Prost. Skol. Cheers or whatever. */ | ||
| 3 | |||
| 4 | #ifndef __OT_SYNC_H__ | ||
| 5 | #define __OT_SYNC_H__ | ||
| 6 | |||
| 7 | #include "trackerlogic.h" | ||
| 8 | |||
| 9 | #ifdef WANT_TRACKER_SYNC | ||
| 10 | size_t return_changeset_for_tracker( char **reply ); | ||
| 11 | int add_changeset_to_tracker( ot_byte *data, size_t len ); | ||
| 12 | #endif | ||
| 13 | |||
| 14 | #endif \ No newline at end of file | ||
