view src/dsync/test-dsync-common.h @ 13287:957060ca5b69

Moved GUID code to liblib. Use guid_128_t type consistently everywhere.
author Timo Sirainen <tss@iki.fi>
date Thu, 25 Aug 2011 01:16:11 +0300
parents 9e3e3166a5c9
children
line wrap: on
line source

#ifndef TEST_DSYNC_COMMON_H
#define TEST_DSYNC_COMMON_H

#include "test-common.h"
#include "dsync-data.h"

#define TEST_MAILBOX_GUID1 "1234456789abcdef2143547698badcfe"
#define TEST_MAILBOX_GUID2 "a3bd7824defe08f7acc7ca8ce739dbca"

extern const guid_128_t test_mailbox_guid1;
extern const guid_128_t test_mailbox_guid2;

bool dsync_messages_equal(const struct dsync_message *m1,
			  const struct dsync_message *m2);
bool dsync_mailboxes_equal(const struct dsync_mailbox *box1,
			   const struct dsync_mailbox *box2);

#endif