summaryrefslogtreecommitdiffstats
path: root/storageapi/src/vespa/storageapi/defs.h
blob: e5445f22870a7443ae21b186614aa462bd7f78de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2017 Yahoo Holdings. 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 {
namespace api {

typedef uint64_t Timestamp;
typedef uint32_t VisitorId;

const Timestamp MAX_TIMESTAMP = (Timestamp)-1ll;

}
}