1998-06-17 14:31:36 +00:00
|
|
|
/*
|
|
|
|
* 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>
|
2000-03-31 23:30:21 +00:00
|
|
|
#include <string.h>
|
2012-08-14 14:25:22 +00:00
|
|
|
#include <strings.h>
|
1998-06-17 14:31:36 +00:00
|
|
|
|
2015-03-17 11:39:10 +00:00
|
|
|
#include "lib/birdlib.h"
|
|
|
|
|
1998-06-17 14:31:36 +00:00
|
|
|
int bsprintf(char *str, const char *fmt, ...);
|
|
|
|
int bvsprintf(char *str, const char *fmt, va_list args);
|
1998-11-16 21:40:35 +00:00
|
|
|
int bsnprintf(char *str, int size, const char *fmt, ...);
|
|
|
|
int bvsnprintf(char *str, int size, const char *fmt, va_list args);
|
1998-06-17 14:31:36 +00:00
|
|
|
|
2013-10-05 18:12:28 +00:00
|
|
|
int buffer_vprint(buffer *buf, const char *fmt, va_list args);
|
|
|
|
int buffer_print(buffer *buf, const char *fmt, ...);
|
|
|
|
void buffer_puts(buffer *buf, const char *str);
|
|
|
|
|
1998-11-29 14:47:24 +00:00
|
|
|
int patmatch(byte *pat, byte *str);
|
|
|
|
|
1998-06-17 14:31:36 +00:00
|
|
|
#endif
|