Orcus
Main Page
Related Pages
Classes
Files
File List
include
orcus
format_detection.hpp
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This Source Code Form is subject to the terms of the Mozilla Public
4
* License, v. 2.0. If a copy of the MPL was not distributed with this
5
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
*/
7
8
#ifndef ORCUS_FORMAT_DETECTION_HPP
9
#define ORCUS_FORMAT_DETECTION_HPP
10
11
#include "env.hpp"
12
13
#include <cstdlib>
14
15
namespace
orcus
{
16
17
enum class
format_t
18
{
19
unknown = 0,
20
ods,
21
xlsx,
22
gnumeric,
23
xls_xml,
24
csv
25
};
26
27
ORCUS_DLLPUBLIC format_t detect(
const
unsigned
char
* buffer,
size_t
length);
28
29
}
30
31
#endif
32
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
orcus
Definition:
base64.hpp:15
Generated on Thu Mar 17 2016 04:47:37 for Orcus by
1.8.11