Debian Codegraph @

support/reexport/reexport_backend.h

raw symbols SCIP
1 #cxx . . $ `<file>/support/reexport/reexport_backend.h`/ifndef REEXPORT_BACKEND_H
2 #define REEXPORT_BACKEND_Hcxx . . $ `support/reexport/reexport_backend.h:2:9`!
3
4 extern struct reexpdb_backend_plugincxx . . $ reexpdb_backend_plugin# sqlite_plug_opscxx . . $ sqlite_plug_ops.;
5
6 struct reexpdb_backend_plugincxx . . $ reexpdb_backend_plugin# {
7 /*
8 * Find or allocate a fsidnum for a given path.
9 *
10 * @path: Path to look for
11 * @fsidnum: Pointer to an uint32_t variable
12 * @may_create: If non-zero, a fsidnum will be allocated if none was found
13 *
14 * Returns true if either an fsidnum was found or successfully allocated,
15 * false otherwise.
16 * On success, the fsidnum will be stored into @fsidnum.
17 * Upon errors, false is returned and errors are logged.
18 */
19 boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! (*fsidnum_by_pathcxx . . $ reexpdb_backend_plugin#fsidnum_by_path.)(char *path, uint32_tcxx . . $ uint32_t# *fsidnum, int may_create, boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! *found);
20
21 /*
22 * Lookup path by a given fsidnum
23 *
24 * @fsidnum: fsidnum to look for
25 * @path: address of a char pointer
26 *
27 * Returns true if a path was found, false otherwise.
28 * Upon errors, false is returned and errors are logged.
29 * In case of success, the function returns the found path
30 * via @path, @path will point to a freshly allocated buffer
31 * which is free()'able.
32 */
33 boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! (*path_by_fsidnumcxx . . $ reexpdb_backend_plugin#path_by_fsidnum.)(uint32_tcxx . . $ uint32_t# fsidnum, char **path, boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! *found);
34
35 /*
36 * Init database connection, can get called multiple times.
37 * Returns true on success, false otherwise.
38 */
39 boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! (*initdbcxx . . $ reexpdb_backend_plugin#initdb.)(void);
40
41 /*
42 * Undoes initdb().
43 */
44 void (*destroydbcxx . . $ reexpdb_backend_plugin#destroydb.)(void);
45 };
46
47 #endif /* REEXPORT_BACKEND_H */