aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/vespa/storageapi/defs.h
blob: bf802a20a5cf94d1acbb5c09c5452d5694378c75 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Yahoo. 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;

}