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.
|
* This file contains the definition of gldns_buffer, and functions to manipulate those.
|
||||||
*/
|
*/
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "gldns/sbuffer.h"
|
#include "gldns/gbuffer.h"
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
gldns_buffer *
|
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.
|
* 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/
|
svn co http://unbound.net/svn/trunk/ldns/
|
||||||
for f in ldns/*.[ch]
|
for f in ldns/*.[ch]
|
||||||
do
|
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
|
done
|
||||||
|
mv sbuffer.h gbuffer.h
|
||||||
|
mv sbuffer.c gbuffer.c
|
||||||
rm -r ldns
|
rm -r ldns
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "gldns/parse.h"
|
#include "gldns/parse.h"
|
||||||
#include "gldns/parseutil.h"
|
#include "gldns/parseutil.h"
|
||||||
#include "gldns/sbuffer.h"
|
#include "gldns/gbuffer.h"
|
||||||
|
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <strings.h>
|
#include <strings.h>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "gldns/str2wire.h"
|
#include "gldns/str2wire.h"
|
||||||
#include "gldns/wire2str.h"
|
#include "gldns/wire2str.h"
|
||||||
#include "gldns/sbuffer.h"
|
#include "gldns/gbuffer.h"
|
||||||
#include "gldns/parse.h"
|
#include "gldns/parse.h"
|
||||||
#include "gldns/parseutil.h"
|
#include "gldns/parseutil.h"
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#include "gldns/rrdef.h"
|
#include "gldns/rrdef.h"
|
||||||
#include "gldns/pkthdr.h"
|
#include "gldns/pkthdr.h"
|
||||||
#include "gldns/parseutil.h"
|
#include "gldns/parseutil.h"
|
||||||
#include "gldns/sbuffer.h"
|
#include "gldns/gbuffer.h"
|
||||||
#include "gldns/keyraw.h"
|
#include "gldns/keyraw.h"
|
||||||
#ifdef HAVE_TIME_H
|
#ifdef HAVE_TIME_H
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
Loading…
Reference in New Issue