mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-29 09:44:26 +00:00

zclient.c depended upon link time inclusion of a extern struct thread_master *master. This is a violation of the namespace of the calling daemon. If a library needs the pointer pass it in and save it for future use. This code change also makes the zclient code consistent with the other lib functions that need to schedule work on your behalf Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
33 lines
1.2 KiB
C
33 lines
1.2 KiB
C
/*
|
|
* IS-IS Rout(e)ing protocol - isis_zebra.h
|
|
*
|
|
* Copyright (C) 2001,2002 Sampo Saaristo
|
|
* Tampere University of Technology
|
|
* Institute of Communications Engineering
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public Licenseas published by the Free
|
|
* Software Foundation; either version 2 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 General Public License for
|
|
* more details.
|
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
#ifndef _ZEBRA_ISIS_ZEBRA_H
|
|
#define _ZEBRA_ISIS_ZEBRA_H
|
|
|
|
extern struct zclient *zclient;
|
|
|
|
void isis_zebra_init(struct thread_master *);
|
|
void isis_zebra_route_update (struct prefix *prefix,
|
|
struct isis_route_info *route_info);
|
|
int isis_distribute_list_update (int routetype);
|
|
|
|
#endif /* _ZEBRA_ISIS_ZEBRA_H */
|