Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
1b249e90
Commit
1b249e90
authored
Jun 01, 2020
by
Vijay Kiran Kamuju
Committed by
Alexandre Julliard
Jun 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add missing enum, function and packing to msasn1.h.
Signed-off-by:
Vijay Kiran Kamuju
<
infyquest@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d2f3f3aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
msasn1.h
include/msasn1.h
+13
-0
No files found.
include/msasn1.h
View file @
1b249e90
/*
/*
* Copyright (C) 2015 Austin English
* Copyright (C) 2015 Austin English
* Copyright (C) 2020 Vijay Kiran Kamuju
*
*
* This library is free software; you can redistribute it and/or
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* modify it under the terms of the GNU Lesser General Public
...
@@ -18,6 +19,8 @@
...
@@ -18,6 +19,8 @@
#ifndef __MS_ASN1_H__
#ifndef __MS_ASN1_H__
#define __MS_ASN1_H__
#define __MS_ASN1_H__
#include <pshpack8.h>
#ifdef __cplusplus
#ifdef __cplusplus
extern
"C"
{
extern
"C"
{
#endif
#endif
...
@@ -157,6 +160,13 @@ typedef enum tagASN1error_e
...
@@ -157,6 +160,13 @@ typedef enum tagASN1error_e
ASN1_WRN_NOEOD
=
1002
,
ASN1_WRN_NOEOD
=
1002
,
}
ASN1error_e
;
}
ASN1error_e
;
enum
{
ASN1_CHOICE_BASE
=
1
,
ASN1_CHOICE_INVALID
=
-
1
,
ASN1_CHOICE_EXTENSION
=
0
};
#define ASN1_SUCCEEDED(ret) (((int)(ret)) >= 0)
#define ASN1_SUCCEEDED(ret) (((int)(ret)) >= 0)
#define ASN1_FAILED(ret) (((int)(ret)) < 0)
#define ASN1_FAILED(ret) (((int)(ret)) < 0)
...
@@ -301,6 +311,7 @@ void WINAPI ASN1_CloseEncoder(ASN1encoding_t);
...
@@ -301,6 +311,7 @@ void WINAPI ASN1_CloseEncoder(ASN1encoding_t);
void
WINAPI
ASN1_CloseEncoder2
(
ASN1encoding_t
);
void
WINAPI
ASN1_CloseEncoder2
(
ASN1encoding_t
);
void
WINAPI
ASN1_CloseModule
(
ASN1module_t
);
void
WINAPI
ASN1_CloseModule
(
ASN1module_t
);
ASN1error_e
WINAPI
ASN1_CreateDecoder
(
ASN1module_t
,
ASN1decoding_t
*
,
ASN1octet_t
*
,
ASN1uint32_t
,
ASN1decoding_t
);
ASN1error_e
WINAPI
ASN1_CreateDecoder
(
ASN1module_t
,
ASN1decoding_t
*
,
ASN1octet_t
*
,
ASN1uint32_t
,
ASN1decoding_t
);
ASN1error_e
WINAPI
ASN1_CreateDecoderEx
(
ASN1module_t
,
ASN1decoding_t
*
,
ASN1octet_t
*
,
ASN1uint32_t
,
ASN1decoding_t
,
ASN1uint32_t
);
ASN1error_e
WINAPI
ASN1_CreateEncoder
(
ASN1module_t
,
ASN1encoding_t
*
,
ASN1octet_t
*
,
ASN1uint32_t
,
ASN1encoding_t
);
ASN1error_e
WINAPI
ASN1_CreateEncoder
(
ASN1module_t
,
ASN1encoding_t
*
,
ASN1octet_t
*
,
ASN1uint32_t
,
ASN1encoding_t
);
ASN1module_t
WINAPI
ASN1_CreateModule
(
ASN1uint32_t
,
ASN1encodingrule_e
,
ASN1uint32_t
,
ASN1uint32_t
,
const
ASN1GenericFun_t
[],
const
ASN1GenericFun_t
[],
const
ASN1FreeFun_t
[],
const
ASN1uint32_t
[],
ASN1magic_t
);
ASN1module_t
WINAPI
ASN1_CreateModule
(
ASN1uint32_t
,
ASN1encodingrule_e
,
ASN1uint32_t
,
ASN1uint32_t
,
const
ASN1GenericFun_t
[],
const
ASN1GenericFun_t
[],
const
ASN1FreeFun_t
[],
const
ASN1uint32_t
[],
ASN1magic_t
);
ASN1error_e
WINAPI
ASN1_Decode
(
ASN1decoding_t
,
void
**
,
ASN1uint32_t
,
ASN1uint32_t
,
ASN1octet_t
*
,
ASN1uint32_t
);
ASN1error_e
WINAPI
ASN1_Decode
(
ASN1decoding_t
,
void
**
,
ASN1uint32_t
,
ASN1uint32_t
,
ASN1octet_t
*
,
ASN1uint32_t
);
...
@@ -352,4 +363,6 @@ void WINAPI ASN1ztcharstring_free(ASN1charstring_t*);
...
@@ -352,4 +363,6 @@ void WINAPI ASN1ztcharstring_free(ASN1charstring_t*);
}
}
#endif
#endif
#include <poppack.h>
#endif
/* __MS_ASN1_H__ */
#endif
/* __MS_ASN1_H__ */
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