mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
2a5854188e
ported some of the tests across. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7233 b45a01b8-16f6-495d-af2f-9b41ad6348cc
32 lines
1.2 KiB
C
32 lines
1.2 KiB
C
#pragma once
|
|
|
|
#include "serialiser/rsnxsitems.h"
|
|
#include "gxs/rsgxsdata.h"
|
|
|
|
#define RS_SERVICE_TYPE_PLUGIN_SIMPLE_FORUM 0x012
|
|
|
|
bool operator==(const RsNxsGrp&, const RsNxsGrp&);
|
|
bool operator==(const RsNxsMsg&, const RsNxsMsg&);
|
|
bool operator==(const RsGxsGrpMetaData& l, const RsGxsGrpMetaData& r);
|
|
bool operator==(const RsGxsMsgMetaData& l, const RsGxsMsgMetaData& r);
|
|
bool operator==(const RsNxsSyncGrp& l, const RsNxsSyncGrp& r);
|
|
bool operator==(const RsNxsSyncMsg& l, const RsNxsSyncMsg& r);
|
|
bool operator==(const RsNxsSyncGrpItem& l, const RsNxsSyncGrpItem& r);
|
|
bool operator==(const RsNxsSyncMsgItem& l, const RsNxsSyncMsgItem& r);
|
|
bool operator==(const RsNxsTransac& l, const RsNxsTransac& r);
|
|
|
|
//void init_item(RsNxsGrp& nxg);
|
|
//void init_item(RsNxsMsg& nxm);
|
|
void init_item(RsGxsGrpMetaData* metaGrp);
|
|
void init_item(RsGxsMsgMetaData* metaMsg);
|
|
|
|
|
|
RsSerialType* init_item(RsNxsGrp& nxg);
|
|
RsSerialType* init_item(RsNxsMsg& nxm);
|
|
RsSerialType* init_item(RsNxsSyncGrp& rsg);
|
|
RsSerialType* init_item(RsNxsSyncMsg& rsgm);
|
|
RsSerialType* init_item(RsNxsSyncGrpItem& rsgl);
|
|
RsSerialType* init_item(RsNxsSyncMsgItem& rsgml);
|
|
RsSerialType* init_item(RsNxsTransac& rstx);
|
|
|