re-licensed serialiser/

This commit is contained in:
csoler 2018-05-29 21:27:12 +02:00
parent 05e2f684a9
commit 70f09b654c
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
37 changed files with 780 additions and 946 deletions

View file

@ -1,28 +1,24 @@
/*******************************************************************************
/* * libretroshare/src/serialiser: rsbaseserial.cc *
* libretroshare/src/serialiser: rsbaseserial.cc * *
* * libretroshare: retroshare core library *
* RetroShare Serialiser. * *
* * Copyright 2007-2008 by Robert Fernie <retroshare@lunamutt.com> *
* Copyright 2007-2008 by Robert Fernie. * *
* * This program is free software: you can redistribute it and/or modify *
* This library is free software; you can redistribute it and/or * it under the terms of the GNU Lesser General Public License as *
* modify it under the terms of the GNU Library General Public * published by the Free Software Foundation, either version 3 of the *
* License Version 2 as published by the Free Software Foundation. * License, or (at your option) any later version. *
* * *
* This library is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* Library General Public License for more details. * GNU Lesser General Public License for more details. *
* * *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Lesser General Public License *
* License along with this library; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * *
* USA. *******************************************************************************/
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include <stdlib.h> /* Included because GCC4.4 wants it */ #include <stdlib.h> /* Included because GCC4.4 wants it */
#include <string.h> /* Included because GCC4.4 wants it */ #include <string.h> /* Included because GCC4.4 wants it */

View file

@ -1,31 +1,27 @@
/*******************************************************************************
* libretroshare/src/serialiser: rsbaseserial.h *
* *
* libretroshare: retroshare core library *
* *
* Copyright 2007-2008 by Robert Fernie <retroshare@lunamutt.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#ifndef RS_BASE_PACKING_H #ifndef RS_BASE_PACKING_H
#define RS_BASE_PACKING_H #define RS_BASE_PACKING_H
/*
* libretroshare/src/serialiser: rsbaseserial.h
*
* RetroShare Serialiser.
*
* Copyright 2007-2008 by Robert Fernie.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License Version 2 as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include <string> #include <string>
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h> #include <stdint.h>

View file

@ -1,28 +1,24 @@
/*******************************************************************************
/* * libretroshare/src/serialiser: rsserial.cc *
* libretroshare/src/serialiser: rsserial.cc * *
* * libretroshare: retroshare core library *
* RetroShare Serialiser. * *
* * Copyright 2007-2008 by Robert Fernie <retroshare@lunamutt.com> *
* Copyright 2007-2008 by Robert Fernie. * *
* * This program is free software: you can redistribute it and/or modify *
* This library is free software; you can redistribute it and/or * it under the terms of the GNU Lesser General Public License as *
* modify it under the terms of the GNU Library General Public * published by the Free Software Foundation, either version 3 of the *
* License Version 2 as published by the Free Software Foundation. * License, or (at your option) any later version. *
* * *
* This library is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* Library General Public License for more details. * GNU Lesser General Public License for more details. *
* * *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Lesser General Public License *
* License along with this library; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * *
* USA. *******************************************************************************/
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include "serialiser/rsbaseserial.h" #include "serialiser/rsbaseserial.h"

View file

@ -1,31 +1,27 @@
/*******************************************************************************
* libretroshare/src/serialiser: rsserial.h *
* *
* libretroshare: retroshare core library *
* *
* Copyright 2007-2008 by Robert Fernie <retroshare@lunamutt.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#ifndef RS_BASE_SERIALISER_H #ifndef RS_BASE_SERIALISER_H
#define RS_BASE_SERIALISER_H #define RS_BASE_SERIALISER_H
/*
* libretroshare/src/serialiser: rsserial.h
*
* RetroShare Serialiser.
*
* Copyright 2007-2008 by Robert Fernie.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License Version 2 as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <map> #include <map>

View file

@ -1,22 +1,25 @@
/*******************************************************************************
* libretroshare/src/serialiser: rsserializable.h *
* *
* libretroshare: retroshare core library *
* *
* Copyright (C) 2016-2018 Gioacchino Mazzurco <gio@eigenlab.org> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#pragma once #pragma once
/*
* RetroShare Serialiser.
* Copyright (C) 2016-2018 Gioacchino Mazzurco <gio@eigenlab.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "serialiser/rsserializer.h" #include "serialiser/rsserializer.h"

View file

@ -1,28 +1,24 @@
/* /*******************************************************************************
* libretroshare/src/serialiser: rsserializer.cc * libretroshare/src/serialiser: rsserializer.cc *
* * *
* RetroShare Serialiser. * libretroshare: retroshare core library *
* * *
* Copyright 2016 by Cyril Soler * Copyright (C) 2016 Cyril Soler <csoler@users.sourceforge.net> *
* * *
* This library is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU Library General Public * it under the terms of the GNU Lesser General Public License as *
* License Version 2 as published by the Free Software Foundation. * published by the Free Software Foundation, either version 3 of the *
* * License, or (at your option) any later version. *
* This library is distributed in the hope that it will be useful, * *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * This program is distributed in the hope that it will be useful, *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* Library General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* * GNU Lesser General Public License for more details. *
* You should have received a copy of the GNU Library General Public * *
* License along with this library; if not, write to the Free Software * You should have received a copy of the GNU Lesser General Public License *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* USA. * *
* *******************************************************************************/
* Please report all bugs and problems to "csoler@users.sourceforge.net".
*
*/
#include <typeinfo> #include <typeinfo>
#include "rsitems/rsitem.h" #include "rsitems/rsitem.h"

View file

@ -1,28 +1,25 @@
/* /*******************************************************************************
* libretroshare/src/serialiser: rsserializer.h * libretroshare/src/serialiser: rsserializer.h *
* * *
* RetroShare Serialiser. * libretroshare: retroshare core library *
* * *
* Copyright (C) 2016 Cyril Soler * Copyright (C) 2016 Cyril Soler <csoler@users.sourceforge.net> *
* Copyright (C) 2018 Gioacchino Mazzurco <gio@eigenlab.org> * Copyright (C) 2018 Gioacchino Mazzurco <gio@eigenlab.org> *
* * *
* This library is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU Library General Public * it under the terms of the GNU Lesser General Public License as *
* License Version 2 as published by the Free Software Foundation. * published by the Free Software Foundation, either version 3 of the *
* * License, or (at your option) any later version. *
* This library is distributed in the hope that it will be useful, * *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * This program is distributed in the hope that it will be useful, *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* Library General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* * GNU Lesser General Public License for more details. *
* You should have received a copy of the GNU Library General Public * *
* License along with this library; if not, write to the Free Software * You should have received a copy of the GNU Lesser General Public License *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* USA. * *
* *******************************************************************************/
* Please report all bugs and problems to "csoler@users.sourceforge.net".
*
*/
#pragma once #pragma once
/////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////

View file

@ -1,29 +1,24 @@
/*******************************************************************************
/* * libretroshare/src/serialiser: rstlvaddr.cc *
* libretroshare/src/serialiser: rstlvtypes.cc * *
* * libretroshare: retroshare core library *
* RetroShare Serialiser. * *
* * Copyright 2010 by Robert Fernie <retroshare@lunamutt.com> *
* Copyright 2007-2008 by Robert Fernie, Chris Parker * *
* * This program is free software: you can redistribute it and/or modify *
* This library is free software; you can redistribute it and/or * it under the terms of the GNU Lesser General Public License as *
* modify it under the terms of the GNU Library General Public * published by the Free Software Foundation, either version 3 of the *
* License Version 2 as published by the Free Software Foundation. * License, or (at your option) any later version. *
* * *
* This library is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* Library General Public License for more details. * GNU Lesser General Public License for more details. *
* * *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Lesser General Public License *
* License along with this library; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * *
* USA. *******************************************************************************/
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include "serialiser/rstlvbase.h" #include "serialiser/rstlvbase.h"
#include "serialiser/rstlvaddrs.h" #include "serialiser/rstlvaddrs.h"
#include "serialiser/rsbaseserial.h" #include "serialiser/rsbaseserial.h"

View file

@ -1,30 +1,26 @@
/*******************************************************************************
* libretroshare/src/serialiser: rstlvaddr.h *
* *
* libretroshare: retroshare core library *
* *
* Copyright 2010 by Robert Fernie <retroshare@lunamutt.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#pragma once #pragma once
/*
* libretroshare/src/serialiser: rstlvaddrs.h
*
* RetroShare Serialiser.
*
* Copyright 2010 by Robert Fernie
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License Version 2 as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
/******************************************************************* /*******************************************************************
* These are the Compound TLV structures that must be (un)packed. * These are the Compound TLV structures that must be (un)packed.
******************************************************************/ ******************************************************************/

View file

@ -1,29 +1,24 @@
/*******************************************************************************
/* * libretroshare/src/serialiser: rstlvbanlist.cc *
* libretroshare/src/serialiser: rstlvtypes.cc * *
* * libretroshare: retroshare core library *
* RetroShare Serialiser. * *
* * Copyright 2011 by Robert Fernie <retroshare@lunamutt.com> *
* Copyright 2007-2008 by Robert Fernie, Chris Parker * *
* * This program is free software: you can redistribute it and/or modify *
* This library is free software; you can redistribute it and/or * it under the terms of the GNU Lesser General Public License as *
* modify it under the terms of the GNU Library General Public * published by the Free Software Foundation, either version 3 of the *
* License Version 2 as published by the Free Software Foundation. * License, or (at your option) any later version. *
* * *
* This library is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* Library General Public License for more details. * GNU Lesser General Public License for more details. *
* * *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Lesser General Public License *
* License along with this library; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * *
* USA. *******************************************************************************/
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include "serialiser/rstlvbanlist.h" #include "serialiser/rstlvbanlist.h"
#include "serialiser/rstlvbase.h" #include "serialiser/rstlvbase.h"

View file

@ -1,30 +1,26 @@
/*******************************************************************************
* libretroshare/src/serialiser: rstlvbanlist.h *
* *
* libretroshare: retroshare core library *
* *
* Copyright 2011 by Robert Fernie <retroshare@lunamutt.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#pragma once #pragma once
/*
* libretroshare/src/serialiser: rstlvbanlist.h
*
* RetroShare Serialiser.
*
* Copyright 2011 by Robert Fernie
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License Version 2 as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
/******************************************************************* /*******************************************************************
* These are the Compound TLV structures that must be (un)packed. * These are the Compound TLV structures that must be (un)packed.
******************************************************************/ ******************************************************************/

View file

@ -1,29 +1,24 @@
/*******************************************************************************
/* * libretroshare/src/serialiser: rstlvbase.cc *
* libretroshare/src/serialiser: rstlvbase.cc * *
* * libretroshare: retroshare core library *
* RetroShare Serialiser. * *
* * Copyright 2007-2008 by Robert Fernie, Horatio, Chris Parker *
* Copyright 2007-2008 by Robert Fernie, Horatio, Chris Parker * *
* * This program is free software: you can redistribute it and/or modify *
* This library is free software; you can redistribute it and/or * it under the terms of the GNU Lesser General Public License as *
* modify it under the terms of the GNU Library General Public * published by the Free Software Foundation, either version 3 of the *
* License Version 2 as published by the Free Software Foundation. * License, or (at your option) any later version. *
* * *
* This library is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* Library General Public License for more details. * GNU Lesser General Public License for more details. *
* * *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Lesser General Public License *
* License along with this library; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * *
* USA. *******************************************************************************/
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include <iostream> #include <iostream>
#include "serialiser/rstlvbase.h" #include "serialiser/rstlvbase.h"

View file

@ -1,31 +1,26 @@
/*******************************************************************************
* libretroshare/src/serialiser: rstlvbase.h *
* *
* libretroshare: retroshare core library *
* *
* Copyright 2007-2008 by Robert Fernie, Horatio, Chris Parker *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#pragma once #pragma once
/*
* libretroshare/src/serialiser: rstlvbase.h
*
* RetroShare Serialiser.
*
* Copyright 2007-2008 by Robert Fernie, Horatio, Chris Parker
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License Version 2 as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
/******************************************************************* /*******************************************************************
* These are the general TLV (un)packing routines. * These are the general TLV (un)packing routines.
* *

View file

@ -1,29 +1,24 @@
/*******************************************************************************
/* * libretroshare/src/serialiser: rstlvbinary.cc *
* libretroshare/src/serialiser: rstlvbinary.cc * *
* * libretroshare: retroshare core library *
* RetroShare Serialiser. * *
* * Copyright 2007-2008 by Robert Fernie,Chris Parker <retroshare@lunamutt.com> *
* Copyright 2007-2008 by Robert Fernie, Chris Parker * *
* * This program is free software: you can redistribute it and/or modify *
* This library is free software; you can redistribute it and/or * it under the terms of the GNU Lesser General Public License as *
* modify it under the terms of the GNU Library General Public * published by the Free Software Foundation, either version 3 of the *
* License Version 2 as published by the Free Software Foundation. * License, or (at your option) any later version. *
* * *
* This library is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* Library General Public License for more details. * GNU Lesser General Public License for more details. *
* * *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Lesser General Public License *
* License along with this library; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * *
* USA. *******************************************************************************/
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include "util/rsmemory.h" #include "util/rsmemory.h"
#include "serialiser/rstlvbinary.h" #include "serialiser/rstlvbinary.h"

View file

@ -1,30 +1,26 @@
/*******************************************************************************
* libretroshare/src/serialiser: rstlvbinary.h *
* *
* libretroshare: retroshare core library *
* *
* Copyright 2007-2008 by Robert Fernie,Chris Parker <retroshare@lunamutt.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#pragma once #pragma once
/*
* libretroshare/src/serialiser: rstlvbinary.h
*
* RetroShare Serialiser.
*
* Copyright 2007-2008 by Robert Fernie, Chris Parker
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License Version 2 as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
/******************************************************************* /*******************************************************************
* These are the Compound TLV structures that must be (un)packed. * These are the Compound TLV structures that must be (un)packed.
* *

View file

@ -1,29 +1,24 @@
/*******************************************************************************
/* * libretroshare/src/serialiser: rstlvfileitem.cc *
* libretroshare/src/serialiser: rstlvfileitem.cc * *
* * libretroshare: retroshare core library *
* RetroShare Serialiser. * *
* * Copyright 2007-2008 by Robert Fernie,Chris Parker <retroshare@lunamutt.com> *
* Copyright 2007-2008 by Robert Fernie. * *
* * This program is free software: you can redistribute it and/or modify *
* This library is free software; you can redistribute it and/or * it under the terms of the GNU Lesser General Public License as *
* modify it under the terms of the GNU Library General Public * published by the Free Software Foundation, either version 3 of the *
* License Version 2 as published by the Free Software Foundation. * License, or (at your option) any later version. *
* * *
* This library is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* Library General Public License for more details. * GNU Lesser General Public License for more details. *
* * *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Lesser General Public License *
* License along with this library; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * *
* USA. *******************************************************************************/
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include "serialiser/rstlvfileitem.h" #include "serialiser/rstlvfileitem.h"
#include "serialiser/rsbaseserial.h" #include "serialiser/rsbaseserial.h"

View file

@ -1,30 +1,26 @@
/*******************************************************************************
* libretroshare/src/serialiser: rstlvfileitem.h *
* *
* libretroshare: retroshare core library *
* *
* Copyright 2007-2008 by Robert Fernie,Chris Parker <retroshare@lunamutt.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#pragma once #pragma once
/*
* libretroshare/src/serialiser: rstlvfileitem.h
*
* RetroShare Serialiser.
*
* Copyright 2007-2008 by Robert Fernie, Chris Parker
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License Version 2 as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
/******************************************************************* /*******************************************************************
* These are the Compound TLV structures that must be (un)packed. * These are the Compound TLV structures that must be (un)packed.
* *

View file

@ -1,31 +1,27 @@
/*******************************************************************************
* libretroshare/src/serialiser: rstlvgenericmap.h *
* *
* libretroshare: retroshare core library *
* *
* Copyright 2014 by Robert Fernie <retroshare@lunamutt.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#ifndef RS_TLV_GENERIC_MAP_H #ifndef RS_TLV_GENERIC_MAP_H
#define RS_TLV_GENERIC_MAP_H #define RS_TLV_GENERIC_MAP_H
/*
* libretroshare/src/serialiser: rstlvgenericmap.h
*
* RetroShare Serialiser.
*
* Copyright 2014 by Robert Fernie
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License Version 2.1 as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include "serialiser/rstlvitem.h" #include "serialiser/rstlvitem.h"
#include "serialiser/rstlvgenericparam.h" #include "serialiser/rstlvgenericparam.h"

View file

@ -1,28 +1,24 @@
/*******************************************************************************
/* * libretroshare/src/serialiser: rstlvgenericmap.inl *
* libretroshare/src/serialiser: rstlvgenericmap.inl * *
* * libretroshare: retroshare core library *
* RetroShare Serialiser. * *
* * Copyright 2014 by Robert Fernie <retroshare@lunamutt.com> *
* Copyright 2014 by Robert Fernie * *
* * This program is free software: you can redistribute it and/or modify *
* This library is free software; you can redistribute it and/or * it under the terms of the GNU Lesser General Public License as *
* modify it under the terms of the GNU Library General Public * published by the Free Software Foundation, either version 3 of the *
* License Version 2.1 as published by the Free Software Foundation. * License, or (at your option) any later version. *
* * *
* This library is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* Library General Public License for more details. * GNU Lesser General Public License for more details. *
* * *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Lesser General Public License *
* License along with this library; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * *
* USA. *******************************************************************************/
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include "serialiser/rstlvbase.h" #include "serialiser/rstlvbase.h"

View file

@ -1,29 +1,24 @@
/*******************************************************************************
/* * libretroshare/src/serialiser: rstlvgenericparam.cc *
* libretroshare/src/serialiser: rstlvgenericparam.cc * *
* * libretroshare: retroshare core library *
* RetroShare Serialiser. * *
* * Copyright 2014 by Robert Fernie <retroshare@lunamutt.com> *
* Copyright 2014 by Robert Fernie * *
* * This program is free software: you can redistribute it and/or modify *
* This library is free software; you can redistribute it and/or * it under the terms of the GNU Lesser General Public License as *
* modify it under the terms of the GNU Library General Public * published by the Free Software Foundation, either version 3 of the *
* License Version 2.1 as published by the Free Software Foundation. * License, or (at your option) any later version. *
* * *
* This library is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* Library General Public License for more details. * GNU Lesser General Public License for more details. *
* * *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Lesser General Public License *
* License along with this library; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * *
* USA. *******************************************************************************/
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include "serialiser/rstlvgenericparam.h" #include "serialiser/rstlvgenericparam.h"
#include "serialiser/rstlvbase.h" #include "serialiser/rstlvbase.h"
#include <iostream> #include <iostream>

View file

@ -1,31 +1,27 @@
/*******************************************************************************
* libretroshare/src/serialiser: rstlvgenericparam.h *
* *
* libretroshare: retroshare core library *
* *
* Copyright 2014 by Robert Fernie <retroshare@lunamutt.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#ifndef RS_TLV_GENERIC_PARAM_H #ifndef RS_TLV_GENERIC_PARAM_H
#define RS_TLV_GENERIC_PARAM_H #define RS_TLV_GENERIC_PARAM_H
/*
* libretroshare/src/serialiser: rstlvgenericparam.h
*
* RetroShare Serialiser.
*
* Copyright 2014 by Robert Fernie
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License Version 2.1 as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include "serialiser/rstlvitem.h" #include "serialiser/rstlvitem.h"
#if 0 #if 0

View file

@ -1,41 +1,26 @@
/*******************************************************************************
/* * libretroshare/src/serialiser: rstlvidset.cc *
* libretroshare/src/serialiser: rstlvtypes.cc * *
* * libretroshare: retroshare core library *
* RetroShare Serialiser. * *
* * Copyright 2007-2008 by Robert Fernie,Chris Parker <retroshare@lunamutt.com> *
* Copyright 2007-2008 by Robert Fernie, Chris Parker * *
* * This program is free software: you can redistribute it and/or modify *
* This library is free software; you can redistribute it and/or * it under the terms of the GNU Lesser General Public License as *
* modify it under the terms of the GNU Library General Public * published by the Free Software Foundation, either version 3 of the *
* License Version 2 as published by the Free Software Foundation. * License, or (at your option) any later version. *
* * *
* This library is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* Library General Public License for more details. * GNU Lesser General Public License for more details. *
* * *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Lesser General Public License *
* License along with this library; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * *
* USA. *******************************************************************************/
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include "rstlvidset.h" #include "rstlvidset.h"
#if 0
#include "rstlvbase.h"
#include "rsbaseserial.h"
#include "util/rsprint.h"
#include <ostream>
#include <sstream>
#include <iomanip>
#include <iostream>
#endif
#define TLV_DEBUG 1 #define TLV_DEBUG 1
/************************************* Service Id Set ************************************/ /************************************* Service Id Set ************************************/

View file

@ -1,30 +1,26 @@
/*******************************************************************************
* libretroshare/src/serialiser: rstlvidset.h *
* *
* libretroshare: retroshare core library *
* *
* Copyright 2007-2008 by Robert Fernie,Chris Parker <retroshare@lunamutt.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#pragma once #pragma once
/*
* libretroshare/src/serialiser: rstlvidset.h
*
* RetroShare Serialiser.
*
* Copyright 2007-2008 by Robert Fernie, Chris Parker
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License Version 2 as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
/******************************************************************* /*******************************************************************
* These are the Compound TLV structures that must be (un)packed. * These are the Compound TLV structures that must be (un)packed.
* *

View file

@ -1,29 +1,24 @@
/*******************************************************************************
/* * libretroshare/src/serialiser: rstlvimage.cc *
* libretroshare/src/serialiser: rstlvimage.cc * *
* * libretroshare: retroshare core library *
* RetroShare Serialiser. * *
* * Copyright 2007-2008 by Robert Fernie,Chris Parker <retroshare@lunamutt.com> *
* Copyright 2007-2008 by Robert Fernie. * *
* * This program is free software: you can redistribute it and/or modify *
* This library is free software; you can redistribute it and/or * it under the terms of the GNU Lesser General Public License as *
* modify it under the terms of the GNU Library General Public * published by the Free Software Foundation, either version 3 of the *
* License Version 2 as published by the Free Software Foundation. * License, or (at your option) any later version. *
* * *
* This library is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* Library General Public License for more details. * GNU Lesser General Public License for more details. *
* * *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Lesser General Public License *
* License along with this library; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * *
* USA. *******************************************************************************/
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include "serialiser/rstlvimage.h" #include "serialiser/rstlvimage.h"
#if 0 #if 0

View file

@ -1,30 +1,26 @@
/*******************************************************************************
* libretroshare/src/serialiser: rstlvimage.h *
* *
* libretroshare: retroshare core library *
* *
* Copyright 2007-2008 by Robert Fernie,Chris Parker <retroshare@lunamutt.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#pragma once #pragma once
/*
* libretroshare/src/serialiser: rstlvimage.h
*
* RetroShare Serialiser.
*
* Copyright 2007-2008 by Robert Fernie, Chris Parker
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License Version 2 as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
/******************************************************************* /*******************************************************************
* These are the Compound TLV structures that must be (un)packed. * These are the Compound TLV structures that must be (un)packed.
* *

View file

@ -1,29 +1,24 @@
/*******************************************************************************
/* * libretroshare/src/serialiser: rstlvitem.cc *
* libretroshare/src/serialiser: rstlvtypes.cc * *
* * libretroshare: retroshare core library *
* RetroShare Serialiser. * *
* * Copyright 2007-2008 by Robert Fernie,Chris Parker <retroshare@lunamutt.com> *
* Copyright 2007-2008 by Robert Fernie, Chris Parker * *
* * This program is free software: you can redistribute it and/or modify *
* This library is free software; you can redistribute it and/or * it under the terms of the GNU Lesser General Public License as *
* modify it under the terms of the GNU Library General Public * published by the Free Software Foundation, either version 3 of the *
* License Version 2 as published by the Free Software Foundation. * License, or (at your option) any later version. *
* * *
* This library is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* Library General Public License for more details. * GNU Lesser General Public License for more details. *
* * *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Lesser General Public License *
* License along with this library; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * *
* USA. *******************************************************************************/
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include "rstlvitem.h" #include "rstlvitem.h"
#include "rstlvbase.h" #include "rstlvbase.h"
#include <iostream> #include <iostream>

View file

@ -1,28 +1,25 @@
/*******************************************************************************
* libretroshare/src/serialiser: rstlvitem.h *
* *
* libretroshare: retroshare core library *
* *
* Copyright 2007-2008 by Robert Fernie,Chris Parker <retroshare@lunamutt.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#pragma once #pragma once
/*
* libretroshare/src/serialiser: rstlvitem.h
*
* RetroShare Serialiser.
*
* Copyright 2007-2008 by Robert Fernie, Chris Parker
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License Version 2 as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
/******************************************************************* /*******************************************************************
* These are the Compound TLV structures that must be (un)packed. * These are the Compound TLV structures that must be (un)packed.

View file

@ -1,29 +1,24 @@
/*******************************************************************************
/* * libretroshare/src/serialiser: rstlvkeys.cc *
* libretroshare/src/serialiser: rstlvtypes.cc * *
* * libretroshare: retroshare core library *
* RetroShare Serialiser. * *
* * Copyright 2008 by Robert Fernie <retroshare@lunamutt.com> *
* Copyright 2007-2008 by Robert Fernie, Chris Parker * *
* * This program is free software: you can redistribute it and/or modify *
* This library is free software; you can redistribute it and/or * it under the terms of the GNU Lesser General Public License as *
* modify it under the terms of the GNU Library General Public * published by the Free Software Foundation, either version 3 of the *
* License Version 2 as published by the Free Software Foundation. * License, or (at your option) any later version. *
* * *
* This library is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* Library General Public License for more details. * GNU Lesser General Public License for more details. *
* * *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Lesser General Public License *
* License along with this library; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * *
* USA. *******************************************************************************/
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include "rstlvkeys.h" #include "rstlvkeys.h"
#include "rstlvbase.h" #include "rstlvbase.h"
#include "rsbaseserial.h" #include "rsbaseserial.h"

View file

@ -1,30 +1,26 @@
/*******************************************************************************
* libretroshare/src/serialiser: rstlvkeys.h *
* *
* libretroshare: retroshare core library *
* *
* Copyright 2008 by Robert Fernie <retroshare@lunamutt.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#pragma once #pragma once
/*
* libretroshare/src/serialiser: rstlvkeys.h
*
* RetroShare Serialiser.
*
* Copyright 2008 by Robert Fernie
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License Version 2 as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
/******************************************************************* /*******************************************************************
* These are the Compound TLV structures that must be (un)packed. * These are the Compound TLV structures that must be (un)packed.
******************************************************************/ ******************************************************************/

View file

@ -1,29 +1,24 @@
/*******************************************************************************
/* * libretroshare/src/serialiser: rstlvkeyvalue.cc *
* libretroshare/src/serialiser: rstlvtypes.cc * *
* * libretroshare: retroshare core library *
* RetroShare Serialiser. * *
* * Copyright 2008 by Robert Fernie,Chris Parker <retroshare@lunamutt.com> *
* Copyright 2007-2008 by Robert Fernie, Chris Parker * *
* * This program is free software: you can redistribute it and/or modify *
* This library is free software; you can redistribute it and/or * it under the terms of the GNU Lesser General Public License as *
* modify it under the terms of the GNU Library General Public * published by the Free Software Foundation, either version 3 of the *
* License Version 2 as published by the Free Software Foundation. * License, or (at your option) any later version. *
* * *
* This library is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* Library General Public License for more details. * GNU Lesser General Public License for more details. *
* * *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Lesser General Public License *
* License along with this library; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * *
* USA. *******************************************************************************/
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include "rstlvkeyvalue.h" #include "rstlvkeyvalue.h"
#include "rstlvbase.h" #include "rstlvbase.h"

View file

@ -1,30 +1,26 @@
/*******************************************************************************
* libretroshare/src/serialiser: rstlvkeyvalue.h *
* *
* libretroshare: retroshare core library *
* *
* Copyright 2008 by Robert Fernie,Chris Parker <retroshare@lunamutt.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#pragma once #pragma once
/*
* libretroshare/src/serialiser: rstlvkeyvalue.h
*
* RetroShare Serialiser.
*
* Copyright 2007-2008 by Robert Fernie, Chris Parker
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License Version 2 as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
/******************************************************************* /*******************************************************************
* These are the Compound TLV structures that must be (un)packed. * These are the Compound TLV structures that must be (un)packed.
* *

View file

@ -1,30 +1,26 @@
/*******************************************************************************
* libretroshare/src/serialiser: rstlvlist.h *
* *
* libretroshare: retroshare core library *
* *
* Copyright 2008 by Robert Fernie <retroshare@lunamutt.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#pragma once #pragma once
/*
* libretroshare/src/serialiser: rstlvlist.h
*
* RetroShare Serialiser.
*
* Copyright 2014 by Robert Fernie
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License Version 2 as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include "serialiser/rstlvbase.h" #include "serialiser/rstlvbase.h"
#include "serialiser/rstlvitem.h" #include "serialiser/rstlvitem.h"

View file

@ -1,37 +1,27 @@
/*******************************************************************************
* libretroshare/src/serialiser: rstlvmaps.h *
* *
* libretroshare: retroshare core library *
* *
* Copyright 2014 by Robert Fernie <retroshare@lunamutt.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#ifndef RS_TLV_MAPS_H #ifndef RS_TLV_MAPS_H
#define RS_TLV_MAPS_H #define RS_TLV_MAPS_H
/*
* libretroshare/src/serialiser: rstlvmaps.h
*
* RetroShare Serialiser.
*
* Copyright 2014 by Robert Fernie
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License Version 2.1 as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#if 0
#include "serialiser/rstlvgenericmaps.h"
#endif
class RsTlvOpinionMapRef: public RsTlvGenericMapRef<std::string, uint32_t> class RsTlvOpinionMapRef: public RsTlvGenericMapRef<std::string, uint32_t>
{ {
public: public:

View file

@ -1,29 +1,24 @@
/*******************************************************************************
/* * libretroshare/src/serialiser: rstlvstring.cc *
* libretroshare/src/serialiser: rstlvstring.cc * *
* * libretroshare: retroshare core library *
* RetroShare Serialiser. * *
* * Copyright 2007-2008 by Robert Fernie,Chris Parker <retroshare@lunamutt.com> *
* Copyright 2007-2008 by Robert Fernie, Chris Parker * *
* * This program is free software: you can redistribute it and/or modify *
* This library is free software; you can redistribute it and/or * it under the terms of the GNU Lesser General Public License as *
* modify it under the terms of the GNU Library General Public * published by the Free Software Foundation, either version 3 of the *
* License Version 2 as published by the Free Software Foundation. * License, or (at your option) any later version. *
* * *
* This library is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* Library General Public License for more details. * GNU Lesser General Public License for more details. *
* * *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Lesser General Public License *
* License along with this library; if not, write to the Free Software * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * *
* USA. *******************************************************************************/
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
#include "serialiser/rstlvstring.h" #include "serialiser/rstlvstring.h"
#include "serialiser/rstlvbase.h" #include "serialiser/rstlvbase.h"

View file

@ -1,30 +1,26 @@
/*******************************************************************************
* libretroshare/src/serialiser: rstlvstring.h *
* *
* libretroshare: retroshare core library *
* *
* Copyright 2007-2008 by Robert Fernie,Chris Parker <retroshare@lunamutt.com> *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as *
* published by the Free Software Foundation, either version 3 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* *
*******************************************************************************/
#pragma once #pragma once
/*
* libretroshare/src/serialiser: rstlvstring.h
*
* RetroShare Serialiser.
*
* Copyright 2007-2008 by Robert Fernie, Chris Parker
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License Version 2 as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA.
*
* Please report all bugs and problems to "retroshare@lunamutt.com".
*
*/
/******************************************************************* /*******************************************************************
* These are the Compound TLV structures that must be (un)packed. * These are the Compound TLV structures that must be (un)packed.
* *

View file

@ -1,28 +1,25 @@
/* /*******************************************************************************
* libretroshare/src/serialiser: rstypeserializer.cc * libretroshare/src/serialiser: rstypeserializer.cc *
* * *
* RetroShare Serialiser. * libretroshare: retroshare core library *
* * *
* Copyright (C) 2017 Cyril Soler * Copyright (C) 2017 Cyril Soler <csoler@users.sourceforge.net> *
* Copyright (C) 2018 Gioacchino Mazzurco <gio@eigenlab.org> * Copyright (C) 2018 Gioacchino Mazzurco <gio@eigenlab.org> *
* * *
* This library is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU Library General Public * it under the terms of the GNU Lesser General Public License as *
* License Version 2 as published by the Free Software Foundation. * published by the Free Software Foundation, either version 3 of the *
* * License, or (at your option) any later version. *
* This library is distributed in the hope that it will be useful, * *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * This program is distributed in the hope that it will be useful, *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* Library General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* * GNU Lesser General Public License for more details. *
* You should have received a copy of the GNU Library General Public * *
* License along with this library; if not, write to the Free Software * You should have received a copy of the GNU Lesser General Public License *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* USA. * *
* *******************************************************************************/
* Please report all bugs and problems to "csoler@users.sourceforge.net".
*
*/
#include "serialiser/rsserializer.h" #include "serialiser/rsserializer.h"
#include "serialiser/rstypeserializer.h" #include "serialiser/rstypeserializer.h"
#include "serialiser/rsbaseserial.h" #include "serialiser/rsbaseserial.h"

View file

@ -1,28 +1,25 @@
/* /*******************************************************************************
* libretroshare/src/serialiser: rstypeserializer.h * libretroshare/src/serialiser: rstypeserializer.h *
* * *
* RetroShare Serialiser. * libretroshare: retroshare core library *
* * *
* Copyright (C) 2017 Cyril Soler * Copyright (C) 2017 Cyril Soler <csoler@users.sourceforge.net> *
* Copyright (C) 2018 Gioacchino Mazzurco <gio@eigenlab.org> * Copyright (C) 2018 Gioacchino Mazzurco <gio@eigenlab.org> *
* * *
* This library is free software; you can redistribute it and/or * This program is free software: you can redistribute it and/or modify *
* modify it under the terms of the GNU Library General Public * it under the terms of the GNU Lesser General Public License as *
* License Version 2 as published by the Free Software Foundation. * published by the Free Software Foundation, either version 3 of the *
* * License, or (at your option) any later version. *
* This library is distributed in the hope that it will be useful, * *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * This program is distributed in the hope that it will be useful, *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* Library General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* * GNU Lesser General Public License for more details. *
* You should have received a copy of the GNU Library General Public * *
* License along with this library; if not, write to the Free Software * You should have received a copy of the GNU Lesser General Public License *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * along with this program. If not, see <https://www.gnu.org/licenses/>. *
* USA. * *
* *******************************************************************************/
* Please report all bugs and problems to "csoler@users.sourceforge.net".
*
*/
#pragma once #pragma once
#include "serialiser/rsserial.h" #include "serialiser/rsserial.h"