<commit_before># This file is dual licensed under the terms of the Apache License, Version
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
# for complete details.

from __future__ import absolute_import, division, print_function

INCLUDES = """
#include <openssl/engine.h>
"""

TYPES = """
static const long Cryptography_HAS_ENGINE_CRYPTODEV;

struct rand_meth_st {
    void (*seed)(const void *, int);
    int (*bytes)(unsigned char *, int);
    void (*cleanup)();
    void (*add)(const void *, int, double);
    int (*pseudorand)(unsigned char *, int);
    int (*status)();
};

typedef ... ENGINE;
typedef ... RSA_METHOD;
typedef ... DSA_METHOD;
typedef ... ECDH_METHOD;
typedef ... ECDSA_METHOD;
typedef ... DH_METHOD;
typedef struct rand_meth_st RAND_METHOD;
typedef ... STORE_METHOD;
typedef int (*ENGINE_GEN_INT_FUNC_PTR)(ENGINE *);
typedef ... *ENGINE_CTRL_FUNC_PTR;<commit_msg>don't need the intermediary 'struct' declaration.<commit_after># This file is dual licensed under the terms of the Apache License, Version
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
# for complete details.

from __future__ import absolute_import, division, print_function

INCLUDES = """
#include <openssl/engine.h>
"""

TYPES = """
static const long Cryptography_HAS_ENGINE_CRYPTODEV;

typedef ... ENGINE;
typedef ... RSA_METHOD;
typedef ... DSA_METHOD;
typedef ... ECDH_METHOD;
typedef ... ECDSA_METHOD;
typedef ... DH_METHOD;
typedef struct {
    void (*seed)(const void *, int);
    int (*bytes)(unsigned char *, int);
    void (*cleanup)();
    void (*add)(const void *, int, double);
    int (*pseudorand)(unsigned char *, int);
    int (*status)();
} RAND_METHOD;
typedef ... STORE_METHOD;
typedef int (*ENGINE_GEN_INT_FUNC_PTR)(ENGINE *);
typedef ... *ENGINE_CTRL_FUNC_PTR;
{'fraction_non_alphanumeric': 0.13133514986376021, 'fraction_numerical': 0.0021798365122615805, 'mean_word_length': 4.321739130434783, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3690373', 'n_tokens_mistral': 629, 'n_tokens_neox': 555, 'n_words': 185}