Skip to content

Commit 3488f2e

Browse files
committed
init -> init_ for members.
1 parent eb77692 commit 3488f2e

File tree

9 files changed

+11
-11
lines changed

9 files changed

+11
-11
lines changed

deimos/openssl/bio.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ struct bio_st
296296
ExternC!(c_long function(bio_st*,int,const(char)*,int, c_long,long)) callback;
297297
char* cb_arg; /* first argument for the callback */
298298

299-
int init;
299+
int init_;
300300
int shutdown;
301301
int flags; /* extra storage */
302302
int retry_reason;

deimos/openssl/comp.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ alias comp_ctx_st COMP_CTX;
1515
struct comp_method_st {
1616
int type; /* NID for compression library */
1717
const(char)* name; /* A text string to identify the library */
18-
ExternC!(int function(COMP_CTX* ctx)) init;
18+
ExternC!(int function(COMP_CTX* ctx)) init_;
1919
ExternC!(void function(COMP_CTX* ctx)) finish;
2020
ExternC!(int function(COMP_CTX* ctx,
2121
ubyte* out_, uint olen,

deimos/openssl/conf.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ struct conf_method_st
8787
{
8888
const(char)* name;
8989
ExternC!(CONF* function(CONF_METHOD* meth)) create;
90-
ExternC!(int function(CONF* conf)) init;
90+
ExternC!(int function(CONF* conf)) init_;
9191
ExternC!(int function(CONF* conf)) destroy;
9292
ExternC!(int function(CONF* conf)) destroy_data;
9393
ExternC!(int function(CONF* conf, BIO* bp, c_long* eline)) load_bio;

deimos/openssl/dh.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ struct dh_method
106106
const(BIGNUM)* p, const(BIGNUM)* m, BN_CTX* ctx,
107107
BN_MONT_CTX* m_ctx)) bn_mod_exp; /* Can be null */
108108

109-
ExternC!(int function(DH* dh)) init;
109+
ExternC!(int function(DH* dh)) init_;
110110
ExternC!(int function(DH* dh)) finish;
111111
int flags;
112112
char* app_data;

deimos/openssl/dsa.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ struct dsa_method
127127
ExternC!(int function(DSA* dsa, BIGNUM* r, BIGNUM* a, const(BIGNUM)* p,
128128
const(BIGNUM)* m, BN_CTX* ctx,
129129
BN_MONT_CTX* m_ctx)) bn_mod_exp; /* Can be null */
130-
ExternC!(int function(DSA* dsa)) init;
130+
ExternC!(int function(DSA* dsa)) init_;
131131
ExternC!(int function(DSA* dsa)) finish;
132132
int flags;
133133
char* app_data;

deimos/openssl/dso.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ version (none) {
168168
DSO_MERGER_FUNC dso_merger;
169169

170170
/* [De]Initialisation handlers. */
171-
ExternC!(int function(DSO* dso)) init;
171+
ExternC!(int function(DSO* dso)) init_;
172172
ExternC!(int function(DSO* dso)) finish;
173173

174174
/* Return pathname of the module containing location */

deimos/openssl/evp.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ struct env_md_st
165165
int pkey_type;
166166
int md_size;
167167
c_ulong flags;
168-
ExternC!(int function(EVP_MD_CTX* ctx)) init;
168+
ExternC!(int function(EVP_MD_CTX* ctx)) init_;
169169
ExternC!(int function(EVP_MD_CTX* ctx,const(void)* data,size_t count)) update;
170170
ExternC!(int function(EVP_MD_CTX* ctx,ubyte* md)) final_;
171171
ExternC!(int function(EVP_MD_CTX* to,const(EVP_MD_CTX)* from)) copy;
@@ -305,7 +305,7 @@ struct evp_cipher_st
305305
int iv_len;
306306
c_ulong flags; /* Various flags */
307307
ExternC!(int function(EVP_CIPHER_CTX* ctx, const(ubyte)* key,
308-
const(ubyte)* iv, int enc)) init; /* init key */
308+
const(ubyte)* iv, int enc)) init_; /* init key */
309309
ExternC!(int function(EVP_CIPHER_CTX* ctx, ubyte* out_,
310310
const(ubyte)* in_, size_t inl)) do_cipher;/* encrypt/decrypt data */
311311
ExternC!(int function(EVP_CIPHER_CTX*)) cleanup; /* cleanup ctx */

deimos/openssl/rsa.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ struct rsa_meth_st
103103
ExternC!(int function(BIGNUM* r, const(BIGNUM)* a, const(BIGNUM)* p,
104104
const(BIGNUM)* m, BN_CTX* ctx,
105105
BN_MONT_CTX* m_ctx)) bn_mod_exp; /* Can be null */
106-
ExternC!(int function(RSA* rsa)) init; /* called at new */
106+
ExternC!(int function(RSA* rsa)) init_; /* called at new */
107107
ExternC!(int function(RSA* rsa)) finish; /* called at free */
108108
int flags; /* RSA_METHOD_FLAG_* things */
109109
char* app_data; /* may be needed! */

deimos/openssl/x509_vfy.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ struct x509_lookup_method_st {
148148
const(char)* name;
149149
ExternC!(int function(X509_LOOKUP* ctx)) new_item;
150150
ExternC!(void function(X509_LOOKUP* ctx)) free;
151-
ExternC!(int function(X509_LOOKUP* ctx)) init;
151+
ExternC!(int function(X509_LOOKUP* ctx)) init_;
152152
ExternC!(int function(X509_LOOKUP* ctx)) shutdown;
153153
ExternC!(int function(X509_LOOKUP* ctx,int cmd,const(char)* argc,c_long argl,
154154
char** ret)) ctrl;
@@ -222,7 +222,7 @@ auto X509_STORE_set_verify_func()(X509_STORE_CTX* ctx, typeof(X509_STORE_CTX.ini
222222
/* This is the functions plus an instance of the local variables. */
223223
struct x509_lookup_st
224224
{
225-
int init; /* have we been started */
225+
int init_; /* have we been started */
226226
int skip; /* don't use us. */
227227
X509_LOOKUP_METHOD* method; /* the functions */
228228
char* method_data; /* method data */

0 commit comments

Comments
 (0)