mirror of https://github.com/getdnsapi/getdns.git
s/sbuffer/gbuffer/g
This commit is contained in:
parent
3468ea13e6
commit
ed8847a9cb
|
@ -12,7 +12,7 @@
|
|||
* This file contains the definition of gldns_buffer, and functions to manipulate those.
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "gldns/sbuffer.h"
|
||||
#include "gldns/gbuffer.h"
|
||||
#include <stdarg.h>
|
||||
|
||||
gldns_buffer *
|
|
@ -88,7 +88,7 @@ gldns_write_uint32(void *dst, uint32_t data)
|
|||
|
||||
|
||||
/**
|
||||
* \file sbuffer.h
|
||||
* \file gbuffer.h
|
||||
*
|
||||
* This file contains the definition of gldns_buffer, and functions to manipulate those.
|
||||
*/
|
|
@ -5,6 +5,8 @@
|
|||
svn co http://unbound.net/svn/trunk/ldns/
|
||||
for f in ldns/*.[ch]
|
||||
do
|
||||
sed -e 's/sldns_/gldns_/g' -e 's/LDNS_/GLDNS_/g' -e 's/include "ldns/include "gldns/g' -e 's/<ldns\/rrdef\.h>/"gldns\/rrdef.h"/g' $f > ${f#ldns/}
|
||||
sed -e 's/sldns_/gldns_/g' -e 's/LDNS_/GLDNS_/g' -e 's/include "ldns/include "gldns/g' -e 's/<ldns\/rrdef\.h>/"gldns\/rrdef.h"/g' -e 's/sbuffer\.h/gbuffer.h/g' $f > ${f#ldns/}
|
||||
done
|
||||
mv sbuffer.h gbuffer.h
|
||||
mv sbuffer.c gbuffer.c
|
||||
rm -r ldns
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include "config.h"
|
||||
#include "gldns/parse.h"
|
||||
#include "gldns/parseutil.h"
|
||||
#include "gldns/sbuffer.h"
|
||||
#include "gldns/gbuffer.h"
|
||||
|
||||
#include <limits.h>
|
||||
#include <strings.h>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include "config.h"
|
||||
#include "gldns/str2wire.h"
|
||||
#include "gldns/wire2str.h"
|
||||
#include "gldns/sbuffer.h"
|
||||
#include "gldns/gbuffer.h"
|
||||
#include "gldns/parse.h"
|
||||
#include "gldns/parseutil.h"
|
||||
#include <ctype.h>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include "gldns/rrdef.h"
|
||||
#include "gldns/pkthdr.h"
|
||||
#include "gldns/parseutil.h"
|
||||
#include "gldns/sbuffer.h"
|
||||
#include "gldns/gbuffer.h"
|
||||
#include "gldns/keyraw.h"
|
||||
#ifdef HAVE_TIME_H
|
||||
#include <time.h>
|
||||
|
|
Loading…
Reference in New Issue