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
9cee96be
Commit
9cee96be
authored
Sep 04, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 04, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Get rid of P*WINE_CONTEXT_INTERFACE typedefs.
parent
b790abe9
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
14 deletions
+13
-14
collectionstore.c
dlls/crypt32/collectionstore.c
+1
-1
context.c
dlls/crypt32/context.c
+2
-2
crypt32_private.h
dlls/crypt32/crypt32_private.h
+5
-6
regstore.c
dlls/crypt32/regstore.c
+1
-1
serialize.c
dlls/crypt32/serialize.c
+1
-1
store.c
dlls/crypt32/store.c
+3
-3
No files found.
dlls/crypt32/collectionstore.c
View file @
9cee96be
...
...
@@ -135,7 +135,7 @@ static BOOL CRYPT_CollectionAddContext(PWINE_COLLECTIONSTORE store,
*/
static
void
*
CRYPT_CollectionAdvanceEnum
(
PWINE_COLLECTIONSTORE
store
,
PWINE_STORE_LIST_ENTRY
storeEntry
,
const
CONTEXT_FUNCS
*
contextFuncs
,
PCWINE_CONTEXT_INTERFACE
contextInterface
,
void
*
pPrev
,
size_t
contextSize
)
const
WINE_CONTEXT_INTERFACE
*
contextInterface
,
void
*
pPrev
,
size_t
contextSize
)
{
void
*
ret
,
*
child
;
struct
list
*
storeNext
=
list_next
(
&
store
->
stores
,
&
storeEntry
->
entry
);
...
...
dlls/crypt32/context.c
View file @
9cee96be
...
...
@@ -214,14 +214,14 @@ void Context_CopyProperties(const void *to, const void *from,
struct
ContextList
{
PCWINE_CONTEXT_INTERFACE
contextInterface
;
const
WINE_CONTEXT_INTERFACE
*
contextInterface
;
size_t
contextSize
;
CRITICAL_SECTION
cs
;
struct
list
contexts
;
};
struct
ContextList
*
ContextList_Create
(
PCWINE_CONTEXT_INTERFACE
contextInterface
,
size_t
contextSize
)
const
WINE_CONTEXT_INTERFACE
*
contextInterface
,
size_t
contextSize
)
{
struct
ContextList
*
list
=
CryptMemAlloc
(
sizeof
(
struct
ContextList
));
...
...
dlls/crypt32/crypt32_private.h
View file @
9cee96be
...
...
@@ -194,12 +194,11 @@ typedef struct _WINE_CONTEXT_INTERFACE
SerializeElementFunc
serialize
;
FreeContextFunc
free
;
DeleteContextFunc
deleteFromStore
;
}
WINE_CONTEXT_INTERFACE
,
*
PWINE_CONTEXT_INTERFACE
;
typedef
const
WINE_CONTEXT_INTERFACE
*
PCWINE_CONTEXT_INTERFACE
;
}
WINE_CONTEXT_INTERFACE
;
extern
PCWINE_CONTEXT_INTERFACE
pCertInterface
DECLSPEC_HIDDEN
;
extern
PCWINE_CONTEXT_INTERFACE
pCRLInterface
DECLSPEC_HIDDEN
;
extern
PCWINE_CONTEXT_INTERFACE
pCTLInterface
DECLSPEC_HIDDEN
;
extern
const
WINE_CONTEXT_INTERFACE
*
pCertInterface
DECLSPEC_HIDDEN
;
extern
const
WINE_CONTEXT_INTERFACE
*
pCRLInterface
DECLSPEC_HIDDEN
;
extern
const
WINE_CONTEXT_INTERFACE
*
pCTLInterface
DECLSPEC_HIDDEN
;
/* (Internal) certificate store types and functions */
struct
WINE_CRYPTCERTSTORE
;
...
...
@@ -404,7 +403,7 @@ void ContextPropertyList_Free(PCONTEXT_PROPERTY_LIST list) DECLSPEC_HIDDEN;
struct
ContextList
;
struct
ContextList
*
ContextList_Create
(
PCWINE_CONTEXT_INTERFACE
contextInterface
,
size_t
contextSize
)
DECLSPEC_HIDDEN
;
const
WINE_CONTEXT_INTERFACE
*
contextInterface
,
size_t
contextSize
)
DECLSPEC_HIDDEN
;
void
*
ContextList_Add
(
struct
ContextList
*
list
,
void
*
toLink
,
void
*
toReplace
)
DECLSPEC_HIDDEN
;
...
...
dlls/crypt32/regstore.c
View file @
9cee96be
...
...
@@ -349,7 +349,7 @@ static BOOL CRYPT_RegWriteContext(PWINE_REGSTOREINFO store,
static
BOOL
CRYPT_RegDeleteContext
(
PWINE_REGSTOREINFO
store
,
struct
list
*
deleteList
,
const
void
*
context
,
PCWINE_CONTEXT_INTERFACE
contextInterface
)
const
WINE_CONTEXT_INTERFACE
*
contextInterface
)
{
BOOL
ret
;
...
...
dlls/crypt32/serialize.c
View file @
9cee96be
...
...
@@ -41,7 +41,7 @@ typedef struct _WINE_CERT_PROP_HEADER
static
BOOL
CRYPT_SerializeStoreElement
(
const
void
*
context
,
const
BYTE
*
encodedContext
,
DWORD
cbEncodedContext
,
DWORD
contextPropID
,
PCWINE_CONTEXT_INTERFACE
contextInterface
,
DWORD
dwFlags
,
BOOL
omitHashes
,
const
WINE_CONTEXT_INTERFACE
*
contextInterface
,
DWORD
dwFlags
,
BOOL
omitHashes
,
BYTE
*
pbElement
,
DWORD
*
pcbElement
)
{
BOOL
ret
;
...
...
dlls/crypt32/store.c
View file @
9cee96be
...
...
@@ -54,7 +54,7 @@ static const WINE_CONTEXT_INTERFACE gCertInterface = {
(
FreeContextFunc
)
CertFreeCertificateContext
,
(
DeleteContextFunc
)
CertDeleteCertificateFromStore
,
};
PCWINE_CONTEXT_INTERFACE
pCertInterface
=
&
gCertInterface
;
const
WINE_CONTEXT_INTERFACE
*
pCertInterface
=
&
gCertInterface
;
static
const
WINE_CONTEXT_INTERFACE
gCRLInterface
=
{
(
CreateContextFunc
)
CertCreateCRLContext
,
...
...
@@ -69,7 +69,7 @@ static const WINE_CONTEXT_INTERFACE gCRLInterface = {
(
FreeContextFunc
)
CertFreeCRLContext
,
(
DeleteContextFunc
)
CertDeleteCRLFromStore
,
};
PCWINE_CONTEXT_INTERFACE
pCRLInterface
=
&
gCRLInterface
;
const
WINE_CONTEXT_INTERFACE
*
pCRLInterface
=
&
gCRLInterface
;
static
const
WINE_CONTEXT_INTERFACE
gCTLInterface
=
{
(
CreateContextFunc
)
CertCreateCTLContext
,
...
...
@@ -84,7 +84,7 @@ static const WINE_CONTEXT_INTERFACE gCTLInterface = {
(
FreeContextFunc
)
CertFreeCTLContext
,
(
DeleteContextFunc
)
CertDeleteCTLFromStore
,
};
PCWINE_CONTEXT_INTERFACE
pCTLInterface
=
&
gCTLInterface
;
const
WINE_CONTEXT_INTERFACE
*
pCTLInterface
=
&
gCTLInterface
;
typedef
struct
_WINE_MEMSTORE
{
...
...
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