More disambiguation of Python in makefiles (#18284)
[mono-project.git] / mono / btls / btls-x509-lookup-mono.h
blobaf3cb257ab7f3c08f4286c18d6251ba96d2bf195
1 //
2 // btls-x509-lookup-mono.h
3 // MonoBtls
4 //
5 // Created by Martin Baulig on 3/3/16.
6 // Copyright © 2016 Xamarin. All rights reserved.
7 //
9 #ifndef __btls__btls_x509_lookup_mono__
10 #define __btls__btls_x509_lookup_mono__
12 #include <stdio.h>
13 #include "btls-ssl.h"
14 #include "btls-x509.h"
15 #include "btls-x509-store.h"
17 typedef int (* MonoBtlsX509LookupMono_BySubject) (const void *instance, MonoBtlsX509Name *name, X509 **ret);
19 MONO_API MonoBtlsX509LookupMono *
20 mono_btls_x509_lookup_mono_new (void);
22 MONO_API int
23 mono_btls_x509_lookup_mono_free (MonoBtlsX509LookupMono *mono);
25 MONO_API void
26 mono_btls_x509_lookup_mono_init (MonoBtlsX509LookupMono *mono, const void *instance,
27 MonoBtlsX509LookupMono_BySubject by_subject_func);
29 MONO_API int
30 mono_btls_x509_lookup_add_mono (MonoBtlsX509Lookup *lookup, MonoBtlsX509LookupMono *mono);
32 MONO_API X509_LOOKUP_METHOD *
33 mono_btls_x509_lookup_mono_method (void);
35 #endif /* defined(__btls__btls_x509_lookup_mono__) */