char *progname = NULL;
-DECLARE_VERBOSE_LEVEL (morep, INFO);
DECLARE_VERBOSE_LEVEL (crypto, INFO);
#define BUFMAX 4096
Copyright Thales 20250319
*/
-/* include: def.h parse.h pdu_bypass.h pdu_channel.h pdu_clear_data.h pdu_encrypted_data.h pdu_key.h pdu_prng_param.h pdu_raw_data.h pdu_status.h verbose.h */
+/* include: def.h morep.h parse.h pdu_bypass.h pdu_channel.h pdu_clear_data.h pdu_encrypted_data.h pdu_key.h pdu_prng_param.h pdu_raw_data.h pdu_status.h verbose.h */
/* archive: parse.o pdu_bypass.o pdu_channel.o pdu_clear_data.o pdu_encrypted_data.o pdu_key.o pdu_prng_param.o pdu_raw_data.o pdu_status.o */
#include <assert.h>
#include <unistd.h>
#include "verbose.h"
-
#include "morep.h"
+DECLARE_VERBOSE_LEVEL (morep, INFO);
+
#define MAC_ADDR_STRING 18
/**
int stop = 0;
-DECLARE_VERBOSE_LEVEL (morep, INFO);
-
char *words[] = {"Quo", "cognito", "Constantius", "ultra", "mortalem", "modum", "exarsit", "ac", "nequo", "casu", "idem", "Gallus", "de", "futuris", "incertus", "agitare", "quaedam", "conducentia", "saluti", "suae", "per", "itinera", "conaretur,", "remoti", "sunt", "omnes", "de", "industria", "milites", "agentes", "in", "civitatibus", "perviis.", NULL};
#define BUFMAX 4096
int stop = 0;
-DECLARE_VERBOSE_LEVEL (morep, INFO);
-
#define BUFMAX 4096
void sig_handler (int sig)
int stop = 0;
-DECLARE_VERBOSE_LEVEL (morep, INFO);
DECLARE_VERBOSE_LEVEL (simul, INFO);
#define BUFMAX 4096
@param module module name
@return verbose errors
*/
-#define GET_VERBOSE_ERRORS(module) verbose_errors_##module
+#define GET_VERBOSE_ERRORS(module) \
+ ({ extern int verbose_errors_##module; verbose_errors_##module; })
/**
Get verbose level.
@param module module name
@return verbose level
*/
-#define GET_VERBOSE_LEVEL(module) verbose_##module
+#define GET_VERBOSE_LEVEL(module) \
+ ({ extern int verbose_##module; verbose_##module; })
__END_DECLS