<commit_before>/*
 * $Id: ssu.c,v 1.1 2000/02/14 21:00:37 bwelling Exp $
 * Principal Author: <NAME>
 */

#include <config.h>

#include <string.h>

#include <isc/assertions.h>
#include <isc/error.h>
#include <isc/list.h>
#include <isc/magic.h>
#include <isc/result.h>
#include <isc/types.h>

#include <dns/name.h>
#include <dns/ssu.h>

#define SSUMAGIC		0x53535554 /* SSUT */
#define VALID_SSUTABLE(table)	ISC_MAGIC_VALID((table), SSUMAGIC)

struct dns_ssurule {
	isc_boolean_t grant;	/* is this a grant or a deny? */
	isc_boolean_t self;	/* lets a key modify its own name */
	dns_name_t *identity;	/* the identity to match - NULL for any */
	dns_name_t *name;	/* the name being updated - NULL for any */<commit_msg>Initial commit of simple secure update.  Not compiled in by default.<commit_after>/*
 * $Id: ssu.c,v 1.2 2000/02/14 21:09:16 bwelling Exp $
 * Principal Author: <NAME>
 */

#include <config.h>

#include <string.h>

#include <isc/assertions.h>
#include <isc/error.h>
#include <isc/list.h>
#include <isc/magic.h>
#include <isc/result.h>
#include <isc/types.h>

#include <dns/name.h>
#include <dns/ssu.h>

#define SSUMAGIC		0x53535554 /* SSUT */
#define VALID_SSUTABLE(table)	ISC_MAGIC_VALID((table), SSUMAGIC)

typedef struct dns_ssurule dns_ssurule_t;

struct dns_ssurule {
	isc_boolean_t grant;	/* is this a grant or a deny? */
	isc_boolean_t self;	/* lets a key modify its own name */
	dns_name_t *identity;	/* the identity to match - NULL for any */
	dns_name_t *name;	/* the name being updated - NULL for any */
{'fraction_non_alphanumeric': 0.14444444444444443, 'fraction_numerical': 0.032679738562091505, 'mean_word_length': 4.019672131147541, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '3983462', 'n_tokens_mistral': 654, 'n_tokens_neox': 613, 'n_words': 168}