blob: 8522b69a8eac8b8b72ff8848f81e40055db5e224 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Copyright 2015 The Weave Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UW_LIBUWEAVE_SRC_MACAROON_CONTEXT_
#define UW_LIBUWEAVE_SRC_MACAROON_CONTEXT_
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include "src/macaroon_caveat.h"
bool uw_macaroon_context_get_(UwMacaroonCaveatType type,
const uint8_t** context, size_t* context_len);
#endif // UW_LIBUWEAVE_SRC_MACAROON_CONTEXT_
|