Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
603bc1d3
Commit
603bc1d3
authored
Mar 11, 2015
by
Austin English
Committed by
Alexandre Julliard
Mar 12, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add remaining function prototypes in msasn1.h.
parent
985bff76
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
84 additions
and
0 deletions
+84
-0
msasn1.h
include/msasn1.h
+84
-0
No files found.
include/msasn1.h
View file @
603bc1d3
...
...
@@ -70,6 +70,11 @@ typedef struct tagASN1bitstring_t
ASN1octet_t
*
value
;
}
ASN1bitstring_t
;
typedef
enum
tagASN1blocktype_e
{
ASN1_DER_SET_OF_BLOCK
,
}
ASN1blocktype_e
;
typedef
struct
tagASN1charstring_t
{
ASN1uint32_t
length
;
...
...
@@ -88,6 +93,12 @@ typedef struct tagASN1char32string_t
ASN1char32_t
*
value
;
}
ASN1char32string_t
;
typedef
struct
tagASN1encodedOID_t
{
ASN1uint16_t
length
;
ASN1octet_t
*
value
;
}
ASN1encodedOID_t
;
typedef
enum
{
ASN1_PER_RULE_ALIGNED
=
0x0001
,
ASN1_PER_RULE_UNALIGNED
=
0x0002
,
ASN1_PER_RULE
=
ASN1_PER_RULE_ALIGNED
|
ASN1_PER_RULE_UNALIGNED
,
ASN1_BER_RULE_BER
=
0x0100
,
ASN1_BER_RULE_CER
=
0x0200
,
ASN1_BER_RULE_DER
=
0x0400
,
...
...
@@ -117,6 +128,25 @@ typedef enum tagASN1error_e
ASN1_WRN_NOEOD
=
1002
,
}
ASN1error_e
;
typedef
struct
tagASN1generalizedtime_t
{
ASN1uint16_t
year
;
ASN1uint8_t
month
;
ASN1uint8_t
day
;
ASN1uint8_t
hour
;
ASN1uint8_t
minute
;
ASN1uint8_t
second
;
ASN1uint16_t
millisecond
;
ASN1bool_t
universal
;
ASN1int16_t
diff
;
}
ASN1generalizedtime_t
;
typedef
struct
tagASN1intx_t
{
ASN1uint32_t
length
;
ASN1octet_t
*
value
;
}
ASN1intx_t
;
typedef
struct
tagASN1module_t
{
ASN1magic_t
nModuleName
;
ASN1encodingrule_e
eRule
;
...
...
@@ -130,12 +160,34 @@ typedef struct tagASN1module_t {
};
}
*
ASN1module_t
;
typedef
struct
ASN1objectidentifier_s
{
struct
ASN1objectidentifier_s
*
next
;
ASN1uint32_t
value
;
}
*
ASN1objectidentifier_t
;
typedef
struct
tagASN1objectidentifier2_t
{
ASN1uint16_t
count
;
ASN1uint32_t
value
[
16
];
}
ASN1objectidentifier2_t
;
typedef
struct
tagASN1octetstring_t
{
ASN1uint32_t
length
;
ASN1octet_t
*
value
;
}
ASN1octetstring_t
;
typedef
struct
tagASN1open_t
{
ASN1uint32_t
length
;
union
{
void
*
encoded
;
void
*
value
;
};
}
ASN1open_t
;
typedef
enum
tagASN1option_e
{
ASN1OPT_CHANGE_RULE
=
0x101
,
...
...
@@ -161,6 +213,18 @@ typedef struct tagASN1optionparam_t {
};
}
ASN1optionparam_t
,
ASN1optionparam_s
;
typedef
struct
tagASN1utctime_t
{
ASN1uint8_t
year
;
ASN1uint8_t
month
;
ASN1uint8_t
day
;
ASN1uint8_t
hour
;
ASN1uint8_t
minute
;
ASN1uint8_t
second
;
ASN1bool_t
universal
;
ASN1int16_t
diff
;
}
ASN1utctime_t
;
typedef
struct
tagASN1wstring_t
{
ASN1uint32_t
length
;
...
...
@@ -190,9 +254,29 @@ int WINAPI ASN1char32string_cmp(ASN1char32string_t*,ASN1char32string_t*
void
WINAPI
ASN1char32string_free
(
ASN1char32string_t
*
);
int
WINAPI
ASN1charstring_cmp
(
ASN1charstring_t
*
,
ASN1charstring_t
*
);
void
WINAPI
ASN1charstring_free
(
ASN1charstring_t
*
);
LPVOID
WINAPI
ASN1DecAlloc
(
ASN1decoding_t
,
ASN1uint32_t
);
LPVOID
WINAPI
ASN1DecRealloc
(
ASN1decoding_t
,
LPVOID
,
ASN1uint32_t
);
ASN1error_e
WINAPI
ASN1DecSetError
(
ASN1decoding_t
,
ASN1error_e
);
ASN1error_e
WINAPI
ASN1EncSetError
(
ASN1encoding_t
,
ASN1error_e
);
void
WINAPI
ASN1Free
(
LPVOID
);
int
WINAPI
ASN1generalizedtime_cmp
(
ASN1generalizedtime_t
*
,
ASN1generalizedtime_t
*
);
int
WINAPI
ASN1intx_cmp
(
ASN1intx_t
*
,
ASN1intx_t
*
);
void
WINAPI
ASN1intx_free
(
ASN1intx_t
*
);
void
WINAPI
ASN1intx_setuint32
(
ASN1intx_t
*
,
ASN1uint32_t
);
ASN1uint32_t
WINAPI
ASN1intx_uoctets
(
ASN1intx_t
*
);
ASN1int32_t
WINAPI
ASN1intx2int32
(
ASN1intx_t
*
);
ASN1uint32_t
WINAPI
ASN1intx2uint32
(
ASN1intx_t
*
);
int
WINAPI
ASN1intxisuint32
(
ASN1intx_t
*
);
int
WINAPI
ASN1objectidentifier_cmp
(
ASN1objectidentifier_t
*
,
ASN1objectidentifier_t
*
);
void
WINAPI
ASN1objectidentifier_free
(
ASN1objectidentifier_t
*
);
int
WINAPI
ASN1objectidentifier2_cmp
(
ASN1objectidentifier2_t
*
,
ASN1objectidentifier2_t
*
);
int
WINAPI
ASN1octetstring_cmp
(
ASN1octetstring_t
*
,
ASN1octetstring_t
*
);
void
WINAPI
ASN1octetstring_free
(
ASN1octetstring_t
*
);
int
WINAPI
ASN1open_cmp
(
ASN1open_t
*
,
ASN1open_t
*
);
void
WINAPI
ASN1open_free
(
ASN1open_t
*
);
ASN1uint32_t
WINAPI
ASN1uint32_uoctets
(
ASN1uint32_t
);
void
WINAPI
ASN1utf8string_free
(
ASN1wstring_t
*
);
int
WINAPI
ASN1utctime_cmp
(
ASN1utctime_t
*
,
ASN1utctime_t
*
);
int
WINAPI
ASN1ztchar16string_cmp
(
ASN1ztchar16string_t
*
,
ASN1ztchar16string_t
*
);
void
WINAPI
ASN1ztchar16string_free
(
ASN1ztchar16string_t
*
);
void
WINAPI
ASN1ztchar32string_free
(
ASN1ztchar32string_t
*
);
...
...
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