Sha256: a11ba2a9cdf18eb94adaa1f41b4809b509755bab81a90ddb6f472c0a234eb48f

Contents?: true

Size: 1.32 KB

Versions: 5

Compression:

Stored size: 1.32 KB

Contents

/* certstore_c */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
/* you may not use this file except in compliance with the License. */
/* You may obtain a copy of the License at */
/*     http://www.apache.org/licenses/LICENSE-2.0 */
/* Unless required by applicable law or agreed to in writing, software */
/* distributed under the License is distributed on an "AS IS" BASIS, */
/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
/* See the License for the specific language governing permissions and */
/* limitations under the License. */

#ifndef _CERTSTORE_H_
#define _CERTSTORE_H_

#include <ruby.h>
#include <ruby/encoding.h>

#ifdef __GNUC__
#include <w32api.h>
#define MINIMUM_WINDOWS_VERSION WindowsVista
#else                                  /* __GNUC__ */
#define MINIMUM_WINDOWS_VERSION 0x0600 /* Vista */
#endif                                 /* __GNUC__ */

#ifdef _WIN32_WINNT
#undef _WIN32_WINNT
#endif /* WIN32_WINNT */
#define _WIN32_WINNT MINIMUM_WINDOWS_VERSION

#define CERT_THUMBPRINT_SIZE (160 / 8)

#include <wincrypt.h>

extern VALUE rb_mCertstore;
extern VALUE rb_cCertLoader;
extern VALUE rb_eCertLoaderError;

void handle_error_code(VALUE self, DWORD errCode);
void Init_certstore_loader(VALUE certstore);

#endif // _WINEVT_H

Version data entries

5 entries across 5 versions & 4 rubygems

Version Path
fluent-plugin-nuopenlineage-light-0.1.0 vendor/bundle/ruby/3.3.0/gems/certstore_c-0.1.7/ext/certstore/certstore.h
fluent-plugin-openlineage-light-0.1.4 vendor/bundle/ruby/3.3.0/gems/certstore_c-0.1.7/ext/certstore/certstore.h
fluent-plugin-openlineage-light-0.1.3 vendor/bundle/ruby/3.3.0/gems/certstore_c-0.1.7/ext/certstore/certstore.h
fluent-plugin-openlineage-0.1.0 vendor/bundle/ruby/3.3.0/gems/certstore_c-0.1.7/ext/certstore/certstore.h
certstore_c-0.1.7 ext/certstore/certstore.h