<commit_before>#ifndef __DEFINES_H__
#define __DEFINES_H__

#include <stddef.h>
#include "hmac.h"

#define PERSONA_DEFAULT_VERIFIER_URL "https://verifier.login.persona.org/verify"
#define PERSONA_LOGIN_URL "/login.shtml"
#define PERSONA_COOKIE_NAME "Persona"
#define PERSONA_COOKIE_DURATION 60*60*12
#define PERSONA_ENV_IDP "PERSONA_IDP"
#define PERSONA_ISSUER_NOTE "persona-identity-issuer"
#define PERSONA_SECRET_SIZE HMAC_DIGESTSIZE
#define PERSONA_ASSERTION_HEADER "X-Persona-Assertion"
#define PERSONA_END_PAGE "\n</script>\n</html>\n"

#define ERRTAG "authn_persona: "

typedef struct buffer
{
  size_t len;
  char *data;
} buffer_t;

typedef struct persona_dir_config<commit_msg>safer macro just in case<commit_after>#ifndef __DEFINES_H__
#define __DEFINES_H__

#include <stddef.h>
#include "hmac.h"

#define PERSONA_DEFAULT_VERIFIER_URL "https://verifier.login.persona.org/verify"
#define PERSONA_LOGIN_URL "/login.shtml"
#define PERSONA_COOKIE_NAME "Persona"
#define PERSONA_COOKIE_DURATION i(60*60*12)
#define PERSONA_ENV_IDP "PERSONA_IDP"
#define PERSONA_ISSUER_NOTE "persona-identity-issuer"
#define PERSONA_SECRET_SIZE HMAC_DIGESTSIZE
#define PERSONA_ASSERTION_HEADER "X-Persona-Assertion"
#define PERSONA_END_PAGE "\n</script>\n</html>\n"

#define ERRTAG "authn_persona: "

typedef struct buffer
{
  size_t len;
  char *data;
} buffer_t;

typedef struct persona_dir_config
{'fraction_non_alphanumeric': 0.10245310245310245, 'fraction_numerical': 0.008658008658008658, 'mean_word_length': 7.50920245398773, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '7339787', 'n_tokens_mistral': 584, 'n_tokens_neox': 558, 'n_words': 101}