Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asn1c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
oai
asn1c
Commits
52559a2e
"README.md" did not exist on "8a92138086c642721e074cbd2271d8760bc42552"
Commit
52559a2e
authored
20 years ago
by
Lev Walkin
Browse files
Options
Downloads
Patches
Plain Diff
dedicated asn_application.h header
parent
8e55994d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
skeletons/asn_application.h
+25
-0
25 additions, 0 deletions
skeletons/asn_application.h
skeletons/asn_types.h
+0
-10
0 additions, 10 deletions
skeletons/asn_types.h
with
25 additions
and
10 deletions
skeletons/asn_application.h
0 → 100644
+
25
−
0
View file @
52559a2e
/*-
* Copyright (c) 2004 Lev Walkin <vlm@lionet.info>. All rights reserved.
* Redistribution and modifications are permitted subject to BSD license.
*/
/*
* Application-level ASN.1 API.
*/
#ifndef _ASN_APPLICATION_H_
#define _ASN_APPLICATION_H_
#include
<asn_types.h>
/* for platform-dependent types */
/*
* Generic type of an application-defined callback to return various
* types of data to the application.
* EXPECTED RETURN VALUES:
* -1: Failed to consume bytes. Abort the mission.
* Non-negative return values indicate success, and ignored.
*/
typedef
int
(
asn_app_consume_bytes_f
)(
const
void
*
buffer
,
size_t
size
,
void
*
application_specific_key
);
#include
<constr_TYPE.h>
/* for asn1_TYPE_descriptor_t */
#endif
/* _ASN_APPLICATION_H_ */
This diff is collapsed.
Click to expand it.
skeletons/asn_types.h
+
0
−
10
View file @
52559a2e
...
...
@@ -52,14 +52,4 @@
#endif
/* __GNUC__ */
#endif
/* MIN */
/*
* Generic type of an application-defined callback to return various
* types of data to the application.
* EXPECTED RETURN VALUES:
* -1: Failed to consume bytes. Abort the mission.
* Other return values indicate success, and ignored.
*/
typedef
int
(
asn_app_consume_bytes_f
)(
const
void
*
buffer
,
size_t
size
,
void
*
application_specific_key
);
#endif
/* _ASN_TYPES_H_ */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment