ztsdb
zc.h
1 // (C) 2017 Leonardo Silvestri
2 //
3 // This file is part of ztsdb.
4 //
5 // ztsdb is free software: you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation, either version 3 of the License, or
8 // (at your option) any later version.
9 //
10 // ztsdb is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with ztsdb. If not, see <http://www.gnu.org/licenses/>.
17 
18 
19 #ifndef ZC_H
20 #define ZC_H
21 
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27  int make_append_msg(const char* name[], size_t nameslen,
28  const int64_t* time, size_t tlen,
29  const double* data, size_t len,
30  char** buf, size_t* buflen);
31 
32 #ifdef __cplusplus
33 }
34 #endif
35 
36 #endif