mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02:00
g13: Rename utils.c to g13tuple.c
* g13/utils.c: Rename to g13tuple.c. * g13/utils.h: Rename to g13tuple.h. Change all users. * g13/Makefile.am: Adjust accordingly -- Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
4f152f3276
commit
82d12156ef
@ -36,7 +36,7 @@ g13_SOURCES = \
|
|||||||
g13.c g13.h \
|
g13.c g13.h \
|
||||||
g13-common.c g13-common.h \
|
g13-common.c g13-common.h \
|
||||||
keyblob.h \
|
keyblob.h \
|
||||||
utils.c utils.h \
|
g13tuple.c g13tuple.h \
|
||||||
server.c server.h \
|
server.c server.h \
|
||||||
create.c create.h \
|
create.c create.h \
|
||||||
mount.c mount.h \
|
mount.c mount.h \
|
||||||
@ -56,7 +56,7 @@ g13_syshelp_SOURCES = \
|
|||||||
g13-syshelp.c g13-syshelp.h \
|
g13-syshelp.c g13-syshelp.h \
|
||||||
g13-common.c g13-common.h \
|
g13-common.c g13-common.h \
|
||||||
keyblob.h \
|
keyblob.h \
|
||||||
utils.c utils.h \
|
g13tuple.c g13tuple.h \
|
||||||
sh-cmd.c \
|
sh-cmd.c \
|
||||||
sh-blockdev.c \
|
sh-blockdev.c \
|
||||||
sh-dmcrypt.c
|
sh-dmcrypt.c
|
||||||
@ -66,12 +66,12 @@ g13_syshelp_LDADD = $(libcommon) \
|
|||||||
$(GPG_ERROR_LIBS) $(LIBINTL) $(LIBICONV)
|
$(GPG_ERROR_LIBS) $(LIBINTL) $(LIBICONV)
|
||||||
|
|
||||||
|
|
||||||
module_tests = t-utils
|
module_tests = t-g13tuple
|
||||||
t_common_ldadd = $(libcommon) $(LIBGCRYPT_LIBS) \
|
t_common_ldadd = $(libcommon) $(LIBGCRYPT_LIBS) \
|
||||||
$(LIBASSUAN_LIBS)
|
$(LIBASSUAN_LIBS)
|
||||||
|
|
||||||
t_utils_SOURCES = t-utils.c utils.c
|
t_g13tuple_SOURCES = t-g13tuple.c g13tuple.c
|
||||||
t_utils_LDADD = $(t_common_ldadd)
|
t_g13tuple_LDADD = $(t_common_ldadd)
|
||||||
|
|
||||||
|
|
||||||
$(PROGRAMS) : $(libcommon) $(libcommonpth)
|
$(PROGRAMS) : $(libcommon) $(libcommonpth)
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#define G13_BACKEND_H
|
#define G13_BACKEND_H
|
||||||
|
|
||||||
#include "../common/membuf.h"
|
#include "../common/membuf.h"
|
||||||
#include "utils.h" /* For tupledesc_t */
|
#include "g13tuple.h"
|
||||||
|
|
||||||
int be_parse_conttype_name (const char *name);
|
int be_parse_conttype_name (const char *name);
|
||||||
int be_is_supported_conttype (int conttype);
|
int be_is_supported_conttype (int conttype);
|
||||||
|
@ -29,7 +29,11 @@
|
|||||||
#include "g13.h"
|
#include "g13.h"
|
||||||
#include <assuan.h>
|
#include <assuan.h>
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
#include "utils.h"
|
#include "g13tuple.h"
|
||||||
|
#include "keyblob.h"
|
||||||
|
#include "membuf.h"
|
||||||
|
#include "create.h"
|
||||||
|
|
||||||
|
|
||||||
/* Local data for this module. A pointer to this is stored in the
|
/* Local data for this module. A pointer to this is stored in the
|
||||||
CTRL object of each connection. */
|
CTRL object of each connection. */
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
#include "keyblob.h"
|
#include "keyblob.h"
|
||||||
#include "backend.h"
|
#include "backend.h"
|
||||||
#include "utils.h"
|
#include "g13tuple.h"
|
||||||
#include "../common/call-gpg.h"
|
#include "../common/call-gpg.h"
|
||||||
|
|
||||||
/* Create a new blob with all the session keys and other meta
|
/* Create a new blob with all the session keys and other meta
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* utils.c - Utility functions
|
/* g13tuple.c - Tuple handling
|
||||||
* Copyright (C) 2009 Free Software Foundation, Inc.
|
* Copyright (C) 2009 Free Software Foundation, Inc.
|
||||||
* Copyright (C) 2009, 2015, 2016 Werner Koch
|
* Copyright (C) 2009, 2015, 2016 Werner Koch
|
||||||
*
|
*
|
||||||
@ -26,7 +26,7 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
#include "g13.h"
|
#include "g13.h"
|
||||||
#include "utils.h"
|
#include "g13tuple.h"
|
||||||
|
|
||||||
|
|
||||||
/* Definition of the tuple descriptor object. */
|
/* Definition of the tuple descriptor object. */
|
@ -1,4 +1,4 @@
|
|||||||
/* utils.h - Defs for utility fucthe dispatcher to the various backends.ntions
|
/* g13tuple.h - Tuple handling
|
||||||
* Copyright (C) 2009 Free Software Foundation, Inc.
|
* Copyright (C) 2009 Free Software Foundation, Inc.
|
||||||
*
|
*
|
||||||
* This file is part of GnuPG.
|
* This file is part of GnuPG.
|
||||||
@ -17,8 +17,8 @@
|
|||||||
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef G13_UTILS_H
|
#ifndef G13_G13TUPLE_H
|
||||||
#define G13_UTILS_H
|
#define G13_G13TUPLE_H
|
||||||
|
|
||||||
#include "../common/membuf.h"
|
#include "../common/membuf.h"
|
||||||
|
|
||||||
@ -44,4 +44,4 @@ const void *next_tuple (tupledesc_t tupledesc,
|
|||||||
unsigned int *r_tag, size_t *r_length);
|
unsigned int *r_tag, size_t *r_length);
|
||||||
|
|
||||||
|
|
||||||
#endif /*G13_UTILS_H*/
|
#endif /*G13_G13TUPLE_H*/
|
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
#include "keyblob.h"
|
#include "keyblob.h"
|
||||||
#include "backend.h"
|
#include "backend.h"
|
||||||
#include "utils.h"
|
#include "g13tuple.h"
|
||||||
#include "../common/sysutils.h"
|
#include "../common/sysutils.h"
|
||||||
#include "../common/call-gpg.h"
|
#include "../common/call-gpg.h"
|
||||||
#include "mountinfo.h"
|
#include "mountinfo.h"
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
#include "mountinfo.h"
|
#include "mountinfo.h"
|
||||||
|
|
||||||
#include "keyblob.h"
|
#include "keyblob.h"
|
||||||
#include "utils.h"
|
#include "g13tuple.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
#include "g13-syshelp.h"
|
#include "g13-syshelp.h"
|
||||||
#include <assuan.h>
|
#include <assuan.h>
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
#include "utils.h"
|
#include "g13tuple.h"
|
||||||
#include "exectool.h"
|
#include "exectool.h"
|
||||||
#include "keyblob.h"
|
#include "keyblob.h"
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* t-utils.c - Module test for utils.c
|
/* t-g13tuple.c - Module test for g13tuple.c
|
||||||
* Copyright (C) 2016 Werner Koch
|
* Copyright (C) 2016 Werner Koch
|
||||||
*
|
*
|
||||||
* This file is part of GnuPG.
|
* This file is part of GnuPG.
|
||||||
@ -25,9 +25,9 @@
|
|||||||
|
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "keyblob.h"
|
#include "keyblob.h"
|
||||||
#include "utils.h"
|
#include "g13tuple.h"
|
||||||
|
|
||||||
#define PGM "t-utils"
|
#define PGM "t-g13tuple"
|
||||||
|
|
||||||
static int verbose;
|
static int verbose;
|
||||||
static int debug;
|
static int debug;
|
Loading…
x
Reference in New Issue
Block a user