094d2bdb79
Allows to send and receive multiple routes for one network by one BGP session. Also contains necessary core changes to support this (routing tables accepting several routes for one network from one protocol). It needs some more cleanup before merging to the master branch.
23 lines
543 B
C
23 lines
543 B
C
/*
|
|
* BIRD Library -- String Functions
|
|
*
|
|
* (c) 1998 Martin Mares <mj@ucw.cz>
|
|
*
|
|
* Can be freely distributed and used under the terms of the GNU GPL.
|
|
*/
|
|
|
|
#ifndef _BIRD_STRING_H_
|
|
#define _BIRD_STRING_H_
|
|
|
|
#include <stdarg.h>
|
|
#include <string.h>
|
|
#include <strings.h>
|
|
|
|
int bsprintf(char *str, const char *fmt, ...);
|
|
int bvsprintf(char *str, const char *fmt, va_list args);
|
|
int bsnprintf(char *str, int size, const char *fmt, ...);
|
|
int bvsnprintf(char *str, int size, const char *fmt, va_list args);
|
|
|
|
int patmatch(byte *pat, byte *str);
|
|
|
|
#endif
|