Fix licensing and some comments

This commit is contained in:
Gioacchino Mazzurco 2019-08-06 13:12:49 +02:00
parent 38a802e428
commit 8cc87f6887
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051
4 changed files with 17 additions and 17 deletions

View File

@ -1,5 +1,5 @@
/******************************************************************************* /*******************************************************************************
* RetroShare initialization and login API * * libretroshare/src/retroshare: rsinit.h *
* * * *
* Copyright (C) 2004-2014 Robert Fernie <retroshare@lunamutt.com> * * Copyright (C) 2004-2014 Robert Fernie <retroshare@lunamutt.com> *
* Copyright (C) 2016-2019 Gioacchino Mazzurco <gio@altermundi.net> * * Copyright (C) 2016-2019 Gioacchino Mazzurco <gio@altermundi.net> *
@ -18,8 +18,10 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>. * * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* * * *
*******************************************************************************/ *******************************************************************************/
#ifndef RETROSHARE_INIT_INTERFACE_H #pragma once
#define RETROSHARE_INIT_INTERFACE_H
/// RetroShare initialization and login API
// Initialize ok, result >= 0 // Initialize ok, result >= 0
#define RS_INIT_OK 0 // Initialize ok #define RS_INIT_OK 0 // Initialize ok
@ -332,5 +334,3 @@ struct RsLoginHelper
*/ */
bool isLoggedIn(); bool isLoggedIn();
}; };
#endif

View File

@ -1,5 +1,5 @@
/******************************************************************************* /*******************************************************************************
* RetroShare initialization and login API implementation * * libretroshare/src/retroshare: rsinit.cc *
* * * *
* Copyright (C) 2004-2014 Robert Fernie <retroshare@lunamutt.com> * * Copyright (C) 2004-2014 Robert Fernie <retroshare@lunamutt.com> *
* Copyright (C) 2016-2019 Gioacchino Mazzurco <gio@altermundi.net> * * Copyright (C) 2016-2019 Gioacchino Mazzurco <gio@altermundi.net> *
@ -19,8 +19,7 @@
* * * *
*******************************************************************************/ *******************************************************************************/
/* This is an updated startup class. Class variables are hidden from /// RetroShare initialization and login API implementation
* the GUI / External via a hidden class */
#include <unistd.h> #include <unistd.h>

View File

@ -1,5 +1,5 @@
/******************************************************************************* /*******************************************************************************
* RetroShare GXS identities service * * libretroshare/src/services: p3idservice.cc *
* * * *
* Copyright (C) 2012-2014 Robert Fernie <retroshare@lunamutt.com> * * Copyright (C) 2012-2014 Robert Fernie <retroshare@lunamutt.com> *
* Copyright (C) 2017-2019 Gioacchino Mazzurco <gio@altermundi.net> * * Copyright (C) 2017-2019 Gioacchino Mazzurco <gio@altermundi.net> *
@ -19,8 +19,13 @@
* * * *
*******************************************************************************/ *******************************************************************************/
/// RetroShare GXS identities service
#include <unistd.h> #include <unistd.h>
#include <algorithm> #include <algorithm>
#include <sstream>
#include <cstdio>
#include "services/p3idservice.h" #include "services/p3idservice.h"
#include "pgp/pgpauxutils.h" #include "pgp/pgpauxutils.h"
@ -38,13 +43,6 @@
#include "retroshare/rsnotify.h" #include "retroshare/rsnotify.h"
//#include "pqi/authgpg.h"
//#include <retroshare/rspeers.h>
#include <sstream>
#include <stdio.h>
/**** /****
* #define DEBUG_IDS 1 * #define DEBUG_IDS 1
* #define DEBUG_RECOGN 1 * #define DEBUG_RECOGN 1

View File

@ -1,5 +1,5 @@
/******************************************************************************* /*******************************************************************************
* RetroShare GXS identities service * * libretroshare/src/services: p3idservice.h *
* * * *
* Copyright (C) 2012-2014 Robert Fernie <retroshare@lunamutt.com> * * Copyright (C) 2012-2014 Robert Fernie <retroshare@lunamutt.com> *
* Copyright (C) 2017-2019 Gioacchino Mazzurco <gio@altermundi.net> * * Copyright (C) 2017-2019 Gioacchino Mazzurco <gio@altermundi.net> *
@ -20,6 +20,9 @@
*******************************************************************************/ *******************************************************************************/
#pragma once #pragma once
/// RetroShare GXS identities service
#include <map> #include <map>
#include <string> #include <string>