Debian Codegraph @

lib/grn_util.h

raw symbols SCIP
1 /*
2 Copyright (C) 2010-2018 Brazil
3 Copyright (C) 2025 Sutou Kouhei <[email protected]>
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
9
10 This library 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 GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19
20 #pragma once
21
22 #include "grn.h"cxx . . $ `<file>/lib/grn.h`/
23 #include "grn_ctx.h"cxx . . $ `<file>/lib/grn_ctx.h`/
24
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28
29 GRN_APIcxx . . $ `lib/grn.h:84:13`! char *
30 grn_path_separator_to_systemcxx . . $ grn_path_separator_to_system(5bd1a890f71b1efd).(char *dest, char *groonga_path);
31
32 void
33 grn_p_recordcxx . . $ grn_p_record(ce791983349d63f6).(grn_ctxcxx . . $ grn_ctx# *ctx, grn_objcxx . . $ grn_obj# *table, grn_idcxx . . $ grn_id# id);
34 grn_rccxx . . $ grn_rc#
35 grn_record_inspect_without_columnscxx . . $ grn_record_inspect_without_columns(d825b4ed5bf12304).(grn_ctxcxx . . $ grn_ctx# *ctx,
36 grn_objcxx . . $ grn_obj# *buffer,
37 grn_objcxx . . $ grn_obj# *record);
38 grn_rccxx . . $ grn_rc#
39 grn_uvector_record_inspect_without_columnscxx . . $ grn_uvector_record_inspect_without_columns(d825b4ed5bf12304).(grn_ctxcxx . . $ grn_ctx# *ctx,
40 grn_objcxx . . $ grn_obj# *buffer,
41 grn_objcxx . . $ grn_obj# *records);
42
43 /*
44 * grn_mkstemp generates a unique filename from path_template, creates a
45 * file with permissions 0600 and returns a open file desciptor for the file.
46 * The last 6 bytes of path_template must be "XXXXXX" and these are replaced
47 * with a string that makes the filename unique.
48 */
49 int
50 grn_mkstempcxx . . $ grn_mkstemp(1ef8e6ec083aabb9).(char *path_template);
51 boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`!
52 grn_path_existcxx . . $ grn_path_exist(c5f7da30cbc0f4e9).(const char *path);
53 grn_rccxx . . $ grn_rc#
54 grn_path_copycxx . . $ grn_path_copy(acfed50c3cac5568).(grn_ctxcxx . . $ grn_ctx# *ctx,
55 const char *source_path,
56 const char *destination_path);
57
58 int
59 grn_tokenizecxx . . $ grn_tokenize(ae40da7dfd614746).(const char *str,
60 size_t str_len,
61 const char **tokbuf,
62 int buf_size,
63 const char **rest);
64
65 #ifdef __cplusplus
66 }
67 #endif