• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2017 The Chromium OS Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef _BSDIFF_SUFFIX_ARRAY_INDEX_H_
6 #define _BSDIFF_SUFFIX_ARRAY_INDEX_H_
7 
8 #include <stdint.h>
9 
10 #include <memory>
11 
12 #include "bsdiff/suffix_array_index_interface.h"
13 
14 namespace bsdiff {
15 
16 std::unique_ptr<SuffixArrayIndexInterface> CreateSuffixArrayIndex(
17     const uint8_t* text,
18     size_t n);
19 
20 }  // namespace bsdiff
21 
22 #endif  // _BSDIFF_SUFFIX_ARRAY_INDEX_H_
23