};
static bool sddl_write_int(struct sddl_write_context *ctx,
- struct ace_condition_token *tok)
+ const struct ace_condition_token *tok)
{
int64_t v = tok->data.int64.value;
uint8_t sign = tok->data.int64.sign;
static bool sddl_write_unicode(struct sddl_write_context *ctx,
- struct ace_condition_token *tok)
+ const struct ace_condition_token *tok)
{
char *quoted = NULL;
bool ok;
}
static bool sddl_write_octet_string(struct sddl_write_context *ctx,
- struct ace_condition_token *tok)
+ const struct ace_condition_token *tok)
{
bool ok;
char *hex = hex_encode_talloc(ctx->mem_ctx,
static bool sddl_write_sid(struct sddl_write_context *ctx,
- struct ace_condition_token *tok)
+ const struct ace_condition_token *tok)
{
bool ok;
char *sddl = NULL;
static bool write_resource_attr_from_token(struct sddl_write_context *ctx,
- struct ace_condition_token *tok)
+ const struct ace_condition_token *tok)
{
/*
* this is a helper for sddl_resource_attr_from_claim(),
bool ok;
char *sid = NULL;
size_t i;
- struct ace_condition_composite *c = NULL;
+ const struct ace_condition_composite *c = NULL;
switch (tok->type) {
case CONDITIONAL_ACE_TOKEN_INT64:
/*