From 8cc87f68873c6a4e642ea99b814b268f1fbcc921 Mon Sep 17 00:00:00 2001 From: Gioacchino Mazzurco Date: Tue, 6 Aug 2019 13:12:49 +0200 Subject: [PATCH] Fix licensing and some comments --- libretroshare/src/retroshare/rsinit.h | 10 +++++----- libretroshare/src/rsserver/rsinit.cc | 5 ++--- libretroshare/src/services/p3idservice.cc | 14 ++++++-------- libretroshare/src/services/p3idservice.h | 5 ++++- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/libretroshare/src/retroshare/rsinit.h b/libretroshare/src/retroshare/rsinit.h index 1047c8ddf..fc71b5ae9 100644 --- a/libretroshare/src/retroshare/rsinit.h +++ b/libretroshare/src/retroshare/rsinit.h @@ -1,5 +1,5 @@ /******************************************************************************* - * RetroShare initialization and login API * + * libretroshare/src/retroshare: rsinit.h * * * * Copyright (C) 2004-2014 Robert Fernie * * Copyright (C) 2016-2019 Gioacchino Mazzurco * @@ -18,8 +18,10 @@ * along with this program. If not, see . * * * *******************************************************************************/ -#ifndef RETROSHARE_INIT_INTERFACE_H -#define RETROSHARE_INIT_INTERFACE_H +#pragma once + +/// RetroShare initialization and login API + // Initialize ok, result >= 0 #define RS_INIT_OK 0 // Initialize ok @@ -332,5 +334,3 @@ struct RsLoginHelper */ bool isLoggedIn(); }; - -#endif diff --git a/libretroshare/src/rsserver/rsinit.cc b/libretroshare/src/rsserver/rsinit.cc index 4c61d98df..d2b60b992 100644 --- a/libretroshare/src/rsserver/rsinit.cc +++ b/libretroshare/src/rsserver/rsinit.cc @@ -1,5 +1,5 @@ /******************************************************************************* - * RetroShare initialization and login API implementation * + * libretroshare/src/retroshare: rsinit.cc * * * * Copyright (C) 2004-2014 Robert Fernie * * Copyright (C) 2016-2019 Gioacchino Mazzurco * @@ -19,8 +19,7 @@ * * *******************************************************************************/ -/* This is an updated startup class. Class variables are hidden from - * the GUI / External via a hidden class */ +/// RetroShare initialization and login API implementation #include diff --git a/libretroshare/src/services/p3idservice.cc b/libretroshare/src/services/p3idservice.cc index 31e2d920a..4ac14a623 100644 --- a/libretroshare/src/services/p3idservice.cc +++ b/libretroshare/src/services/p3idservice.cc @@ -1,5 +1,5 @@ /******************************************************************************* - * RetroShare GXS identities service * + * libretroshare/src/services: p3idservice.cc * * * * Copyright (C) 2012-2014 Robert Fernie * * Copyright (C) 2017-2019 Gioacchino Mazzurco * @@ -19,8 +19,13 @@ * * *******************************************************************************/ +/// RetroShare GXS identities service + + #include #include +#include +#include #include "services/p3idservice.h" #include "pgp/pgpauxutils.h" @@ -38,13 +43,6 @@ #include "retroshare/rsnotify.h" -//#include "pqi/authgpg.h" - -//#include - -#include -#include - /**** * #define DEBUG_IDS 1 * #define DEBUG_RECOGN 1 diff --git a/libretroshare/src/services/p3idservice.h b/libretroshare/src/services/p3idservice.h index f290fa96a..4e22698b6 100644 --- a/libretroshare/src/services/p3idservice.h +++ b/libretroshare/src/services/p3idservice.h @@ -1,5 +1,5 @@ /******************************************************************************* - * RetroShare GXS identities service * + * libretroshare/src/services: p3idservice.h * * * * Copyright (C) 2012-2014 Robert Fernie * * Copyright (C) 2017-2019 Gioacchino Mazzurco * @@ -20,6 +20,9 @@ *******************************************************************************/ #pragma once +/// RetroShare GXS identities service + + #include #include