aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/vespa/storageapi/defs.h
blob: 04f3589d91d47e169181d3b820306dfadd44adbe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
/**
 * \file defs.h
 *
 * \brief Common declarations for the storage API code.
 */
#pragma once

#include <cstdint>

namespace storage:: api {

using Timestamp = uint64_t;
using VisitorId = uint32_t;

constexpr Timestamp MAX_TIMESTAMP = (Timestamp)-1LL;

}