diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2016-11-19 11:58:52 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2016-11-19 11:58:52 +0100 |
| commit | 6a49d0cc12ff5192291bcc4e5c7ac8bec5c1e78c (patch) | |
| tree | 00b9d1256ecc602a3c1a1cedd49b65d9ad96733e /lib/ptm_lib.h | |
| parent | c5d9d3bb361a7ccf58c3a75ce20d48dcde51210a (diff) | |
| parent | 50e24903ba3e90d3502428eaa1bdb961de305c72 (diff) | |
Merge remote-tracking branch 'cmaster-next' into cmaster-next-releng
Diffstat (limited to 'lib/ptm_lib.h')
| -rw-r--r-- | lib/ptm_lib.h | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/lib/ptm_lib.h b/lib/ptm_lib.h index e79529a819..be4170bb37 100644 --- a/lib/ptm_lib.h +++ b/lib/ptm_lib.h @@ -1,9 +1,25 @@ -/********************************************************************* - * Copyright 2015 Cumulus Networks, LLC. All rights reserved. +/* PTM Library + * Copyright (C) 2015 Cumulus Networks, Inc. * - * library file used by clients for sending commands and parsing response + * This file is part of Quagga. * + * Quagga 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, or (at your option) any + * later version. + * + * Quagga 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. + * + * You should have received a copy of the GNU General Public License + * along with Quagga; see the file COPYING. If not, write to the Free + * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. */ +#ifndef __PTM_LIB_H__ +#define __PTM_LIB_H__ #define PTMLIB_MSG_SZ 1024 #define PTMLIB_MSG_HDR_LEN 37 @@ -47,3 +63,5 @@ int ptm_lib_find_key_in_msg(void *, const char *, char *); int ptm_lib_init_msg(ptm_lib_handle_t *, int, int, void *, void **); int ptm_lib_append_msg(ptm_lib_handle_t *, void *, const char *, const char *); int ptm_lib_complete_msg(ptm_lib_handle_t *, void *, char *, int *); + +#endif |
