From ac4f579565bbf83a877e51dd4dce270022011072 Mon Sep 17 00:00:00 2001 From: Andreas Tonnesen Date: Fri, 3 Dec 2004 20:54:33 +0000 Subject: [PATCH] Updated plugin command headerfile in all plugins --- lib/dyn_gw/src/olsr_plugin_io.h | 2 +- lib/powerinfo/src/olsr_plugin_io.h | 62 ++++++++++++++++++++++-------- lib/secure/src/olsr_plugin_io.h | 51 ++++++++++++++++-------- 3 files changed, 80 insertions(+), 35 deletions(-) diff --git a/lib/dyn_gw/src/olsr_plugin_io.h b/lib/dyn_gw/src/olsr_plugin_io.h index c6fbcc1a..4cc652c3 100644 --- a/lib/dyn_gw/src/olsr_plugin_io.h +++ b/lib/dyn_gw/src/olsr_plugin_io.h @@ -36,7 +36,7 @@ * to the project. For more information see the website or contact * the copyright holders. * - * $Id: olsr_plugin_io.h,v 1.5 2004/11/30 16:52:15 kattemat Exp $ + * $Id: olsr_plugin_io.h,v 1.6 2004/12/03 20:54:33 kattemat Exp $ */ diff --git a/lib/powerinfo/src/olsr_plugin_io.h b/lib/powerinfo/src/olsr_plugin_io.h index 277d1d0e..3b906b0d 100644 --- a/lib/powerinfo/src/olsr_plugin_io.h +++ b/lib/powerinfo/src/olsr_plugin_io.h @@ -1,28 +1,45 @@ /* - * OLSR ad-hoc routing table management protocol - * Copyright (C) 2004 Andreas Tønnesen (andreto@ifi.uio.no) + * The olsr.org Optimized Link-State Routing daemon(olsrd) + * Copyright (c) 2004, Andreas Tønnesen(andreto@olsr.org) + * All rights reserved. * - * This file is part of the olsr.org OLSR daemon. + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: * - * olsr.org is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * * Neither the name of olsr.org, olsrd nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. * - * olsr.org 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 General Public License for more details. + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN + * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. * - * You should have received a copy of the GNU General Public License - * along with olsr.org; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * - * $Id: olsr_plugin_io.h,v 1.4 2004/11/07 10:54:18 kattemat Exp $ + * Visit http://www.olsr.org for more information. * + * If you find this software useful feel free to make a donation + * to the project. For more information see the website or contact + * the copyright holders. + * + * $Id: olsr_plugin_io.h,v 1.5 2004/12/03 20:54:33 kattemat Exp $ */ + /* * REVISIONS(starting from 0.4.6): * 0.4.5 - 0.4.6 : GETD_S removed. The socket entries now reside within the @@ -34,6 +51,12 @@ * GETD_PACKET removed * GETD_MAXMESSAGESIZE removed * GETD_OUTPUTSIZE removed + * GETF__NET_OUTBUFFER_PUSH added + * GETD__ROUTINGTABLE added + * GETD__HNA_ROUTES added + * GETD__MID_SET added + * GETF__NET_RESERVE_BUFSPACE added + * GETF__NET_OUTBUFFER_PUSH_RESERVED added * - Andreas */ @@ -73,6 +96,9 @@ #define GETD__TC_TABLE 110 #define GETD__HNA_SET 111 #define GETD__OLSR_CNF 112 +#define GETD__ROUTINGTABLE 113 +#define GETD__HNA_ROUTES 114 +#define GETD__MID_SET 115 /* Function fetching - starts at 500 */ #define GETF__OLSR_REGISTER_SCHEDULER_EVENT 500 @@ -108,5 +134,7 @@ #define GETF__DEL_IFCHGF 530 #define GETF__APM_READ 531 #define GETF__NET_OUTBUFFER_PUSH 532 +#define GETF__NET_RESERVE_BUFSPACE 533 +#define GETF__NET_OUTBUFFER_PUSH_RESERVED 534 #endif diff --git a/lib/secure/src/olsr_plugin_io.h b/lib/secure/src/olsr_plugin_io.h index a778beb0..737d1ef9 100644 --- a/lib/secure/src/olsr_plugin_io.h +++ b/lib/secure/src/olsr_plugin_io.h @@ -1,28 +1,45 @@ /* - * OLSR ad-hoc routing table management protocol - * Copyright (C) 2004 Andreas Tønnesen (andreto@ifi.uio.no) + * The olsr.org Optimized Link-State Routing daemon(olsrd) + * Copyright (c) 2004, Andreas Tønnesen(andreto@olsr.org) + * All rights reserved. * - * This file is part of the olsr.org OLSR daemon. + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: * - * olsr.org is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * * Neither the name of olsr.org, olsrd nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. * - * olsr.org 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 General Public License for more details. + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN + * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. * - * You should have received a copy of the GNU General Public License - * along with olsr.org; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * - * $Id: olsr_plugin_io.h,v 1.3 2004/11/18 21:57:35 kattemat Exp $ + * Visit http://www.olsr.org for more information. * + * If you find this software useful feel free to make a donation + * to the project. For more information see the website or contact + * the copyright holders. + * + * $Id: olsr_plugin_io.h,v 1.4 2004/12/03 20:54:33 kattemat Exp $ */ + /* * REVISIONS(starting from 0.4.6): * 0.4.5 - 0.4.6 : GETD_S removed. The socket entries now reside within the -- 2.20.1