Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Havar
asn1c
Commits
fc776437
Commit
fc776437
authored
Mar 29, 2005
by
Lev Walkin
Browse files
globalized assert()
parent
c2350118
Changes
22
Hide whitespace changes
Inline
Side-by-side
skeletons/ANY.c
View file @
fc776437
...
...
@@ -4,7 +4,6 @@
*/
#include <asn_internal.h>
#include <ANY.h>
#include <assert.h>
#include <errno.h>
static
asn_OCTET_STRING_specifics_t
asn_DEF_ANY_specs
=
{
...
...
skeletons/BMPString.c
View file @
fc776437
...
...
@@ -5,7 +5,6 @@
#include <asn_internal.h>
#include <BMPString.h>
#include <UTF8String.h>
#include <assert.h>
/*
* BMPString basic type description.
...
...
skeletons/GeneralizedTime.c
View file @
fc776437
...
...
@@ -8,9 +8,6 @@
#include <GeneralizedTime.h>
#include <time.h>
#include <errno.h>
#ifndef __NO_ASSERT_H__
#include <assert.h>
#endif
/* __NO_ASSERT_H__ */
#if defined(WIN32)
#warning PLEASE STOP AND READ!
...
...
skeletons/INTEGER.h
View file @
fc776437
...
...
@@ -47,4 +47,9 @@ xer_type_encoder_f INTEGER_encode_xer;
int
asn_INTEGER2long
(
const
INTEGER_t
*
i
,
long
*
l
);
int
asn_long2INTEGER
(
INTEGER_t
*
i
,
long
l
);
/*
* Convert the integer value into the corresponding enumeration map entry.
*/
const
asn_INTEGER_enum_map_t
*
INTEGER_map_value2enum
(
asn_INTEGER_specifics_t
*
specs
,
long
value
);
#endif
/* _INTEGER_H_ */
skeletons/NativeInteger.c
View file @
fc776437
/*-
* Copyright (c) 2004 Lev Walkin <vlm@lionet.info>. All rights reserved.
* Copyright (c) 2004
, 2005
Lev Walkin <vlm@lionet.info>. All rights reserved.
* Redistribution and modifications are permitted subject to BSD license.
*/
/*
...
...
@@ -11,7 +11,6 @@
*/
#include <asn_internal.h>
#include <NativeInteger.h>
#include <assert.h>
/*
* NativeInteger basic type description.
...
...
skeletons/NativeReal.c
View file @
fc776437
...
...
@@ -12,7 +12,6 @@
#include <asn_internal.h>
#include <NativeReal.h>
#include <REAL.h>
#include <assert.h>
/*
* NativeReal basic type description.
...
...
skeletons/OBJECT_IDENTIFIER.c
View file @
fc776437
...
...
@@ -5,7 +5,6 @@
#include <asn_internal.h>
#include <OBJECT_IDENTIFIER.h>
#include <limits.h>
/* for CHAR_BIT */
#include <assert.h>
#include <errno.h>
/*
...
...
skeletons/OCTET_STRING.c
View file @
fc776437
...
...
@@ -5,7 +5,6 @@
#include <asn_internal.h>
#include <OCTET_STRING.h>
#include <BIT_STRING.h>
/* for .bits_unused member */
#include <assert.h>
#include <errno.h>
/*
...
...
skeletons/REAL.c
View file @
fc776437
...
...
@@ -11,7 +11,6 @@
#include <stdlib.h>
/* for strtod(3) */
#include <math.h>
#include <errno.h>
#include <assert.h>
#include <REAL.h>
#undef INT_MAX
...
...
skeletons/RELATIVE-OID.c
View file @
fc776437
...
...
@@ -7,7 +7,6 @@
#include <RELATIVE-OID.h>
#include <asn_codecs_prim.h>
/* Encoder and decoder of a primitive type */
#include <limits.h>
/* for CHAR_BIT */
#include <assert.h>
#include <errno.h>
/*
...
...
skeletons/UTCTime.c
View file @
fc776437
...
...
@@ -7,7 +7,6 @@
#include <GeneralizedTime.h>
#include <time.h>
#include <errno.h>
#include <assert.h>
#ifndef __NO_ASN_TABLE__
...
...
skeletons/UniversalString.c
View file @
fc776437
...
...
@@ -5,7 +5,6 @@
#include <asn_internal.h>
#include <UniversalString.h>
#include <UTF8String.h>
#include <assert.h>
/*
* UniversalString basic type description.
...
...
skeletons/asn-decoder-template.c
View file @
fc776437
...
...
@@ -12,9 +12,9 @@
#include <sys/types.h>
#include <unistd.h>
/* for getopt */
#include <string.h>
/* for strerror(3) */
#include <errno.h>
/* for errno */
#include <assert.h>
/* for assert(3) */
#include <sysexits.h>
/* for EX_* exit codes */
#include <assert.h>
/* for assert(3) */
#include <errno.h>
/* for errno */
#include <asn_application.h>
...
...
skeletons/asn_codecs_prim.c
View file @
fc776437
...
...
@@ -4,7 +4,6 @@
*/
#include <asn_internal.h>
#include <asn_codecs_prim.h>
#include <assert.h>
#include <errno.h>
/*
...
...
skeletons/asn_system.h
View file @
fc776437
...
...
@@ -18,6 +18,9 @@
#include <sys/types.h>
/* For size_t */
#include <stdarg.h>
/* For va_start */
#include <stddef.h>
/* for offsetof and ptrdiff_t */
#ifndef __NO_ASSERT_H__
#include <assert.h>
/* for assert() macro */
#endif
#ifdef WIN32
...
...
skeletons/ber_decoder.c
View file @
fc776437
...
...
@@ -3,7 +3,6 @@
* Redistribution and modifications are permitted subject to BSD license.
*/
#include <asn_internal.h>
#include <assert.h>
#undef ADVANCE
#define ADVANCE(num_bytes) do { \
...
...
skeletons/constr_CHOICE.c
View file @
fc776437
...
...
@@ -5,7 +5,6 @@
*/
#include <asn_internal.h>
#include <constr_CHOICE.h>
#include <assert.h>
/*
* Number of bytes left for this structure.
...
...
skeletons/constr_SEQUENCE.c
View file @
fc776437
...
...
@@ -5,7 +5,6 @@
*/
#include <asn_internal.h>
#include <constr_SEQUENCE.h>
#include <assert.h>
/*
* Number of bytes left for this structure.
...
...
skeletons/constr_SET.c
View file @
fc776437
...
...
@@ -4,7 +4,6 @@
*/
#include <asn_internal.h>
#include <constr_SET.h>
#include <assert.h>
/* for assert() */
#ifndef WIN32
#include <netinet/in.h>
/* for ntohl() */
...
...
skeletons/constr_SET_OF.c
View file @
fc776437
...
...
@@ -5,7 +5,6 @@
#include <asn_internal.h>
#include <constr_SET_OF.h>
#include <asn_SET_OF.h>
#include <assert.h>
/*
* Number of bytes left for this structure.
...
...
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment