Fix forward declarations class struct missmatch

This commit is contained in:
Gioacchino Mazzurco 2018-10-03 19:05:02 +02:00
parent e6e5700ed6
commit 7cc15c703c
No known key found for this signature in database
GPG key ID: A1FBCA3872E87051
10 changed files with 11 additions and 11 deletions

View file

@ -47,7 +47,7 @@
#include <set> #include <set>
#include <string> #include <string>
class RsPeerDetails ; struct RsPeerDetails;
class RsCertificate class RsCertificate
{ {

View file

@ -38,7 +38,7 @@
#define MAX_GPG_SIGNATURE_SIZE 4096 #define MAX_GPG_SIGNATURE_SIZE 4096
class RsPeerDetails; struct RsPeerDetails;
/*! /*!
* gpgcert is the identifier for a person. * gpgcert is the identifier for a person.

View file

@ -129,7 +129,7 @@ class peerConnectState
class p3tunnel; class p3tunnel;
class RsPeerGroupItem_deprecated; class RsPeerGroupItem_deprecated;
class RsGroupInfo; struct RsGroupInfo;
class p3PeerMgr; class p3PeerMgr;
class p3NetMgr; class p3NetMgr;

View file

@ -31,7 +31,7 @@
#include "pqi/pqinetwork.h" #include "pqi/pqinetwork.h"
class RSTrafficClue ; struct RSTrafficClue;
/*** Base DataTypes: ****/ /*** Base DataTypes: ****/
#include "serialiser/rsserial.h" #include "serialiser/rsserial.h"
@ -46,7 +46,7 @@ class RSTrafficClue ;
int getPQIsearchId(); int getPQIsearchId();
int fixme(char *str, int n); int fixme(char *str, int n);
class RsPeerCryptoParams ; struct RsPeerCryptoParams;
//! controlling data rates //! controlling data rates
/*! /*!

View file

@ -32,7 +32,7 @@
#include "util/rsthreads.h" // for RsStackMutex, RsMutex #include "util/rsthreads.h" // for RsStackMutex, RsMutex
class PQInterface; class PQInterface;
class RSTrafficClue; struct RSTrafficClue;
class RsBwRates; class RsBwRates;
struct RsItem; struct RsItem;
class RsRawItem; class RsRawItem;

View file

@ -30,7 +30,7 @@
#include <list> #include <list>
class pqiperson; class pqiperson;
class RsPeerCryptoParams ; struct RsPeerCryptoParams;
static const int CONNECT_RECEIVED = 1; static const int CONNECT_RECEIVED = 1;
static const int CONNECT_SUCCESS = 2; static const int CONNECT_SUCCESS = 2;

View file

@ -40,7 +40,7 @@
const unsigned long PQIPERSON_NO_LISTENER = 0x0001; const unsigned long PQIPERSON_NO_LISTENER = 0x0001;
const unsigned long PQIPERSON_ALL_BW_LIMITED = 0x0010; const unsigned long PQIPERSON_ALL_BW_LIMITED = 0x0010;
class RsPeerCryptoParams ; struct RsPeerCryptoParams;
class pqipersongrp: public pqihandler, public pqiMonitor, public p3ServiceServer, public pqiNetListener class pqipersongrp: public pqihandler, public pqiMonitor, public p3ServiceServer, public pqiNetListener
{ {

View file

@ -29,7 +29,7 @@
class RsServer; class RsServer;
class RsInit; class RsInit;
class RsPeerCryptoParams; struct RsPeerCryptoParams;
class RsControl; class RsControl;
/// RsInit -> Configuration Parameters for RetroShare Startup /// RsInit -> Configuration Parameters for RetroShare Startup

View file

@ -33,7 +33,7 @@
class ChatId; class ChatId;
class ChatMessage; class ChatMessage;
class RsGxsChanges; struct RsGxsChanges;
class RsNotify; class RsNotify;
extern RsNotify *rsNotify; extern RsNotify *rsNotify;

View file

@ -37,7 +37,7 @@
#include "serialiser/rsserializer.h" #include "serialiser/rsserializer.h"
class RsGroupInfo; struct RsGroupInfo;
const uint8_t RS_PKT_TYPE_GENERAL_CONFIG = 0x01; const uint8_t RS_PKT_TYPE_GENERAL_CONFIG = 0x01;
const uint8_t RS_PKT_TYPE_PEER_CONFIG = 0x02; const uint8_t RS_PKT_TYPE_PEER_CONFIG = 0x02;