BRL-CAD
binunif.h
Go to the documentation of this file.
1/* B I N U N I F . H
2 * BRL-CAD
3 *
4 * Copyright (c) 1993-2023 United States Government as represented by
5 * the U.S. Army Research Laboratory.
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public License
9 * version 2.1 as published by the Free Software Foundation.
10 *
11 * This library is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this file; see the file named COPYING for more
18 * information.
19 */
20/** @file rt/binunif.h
21 *
22 */
23
24#ifndef RT_BINUNIF_H
25#define RT_BINUNIF_H
26
27#include "common.h"
28#include "vmath.h"
29#include "bu/vls.h"
30#include "rt/defines.h"
31
32__BEGIN_DECLS
33
34/* defined in binary_obj.c */
35RT_EXPORT extern int rt_mk_binunif(struct rt_wdb *wdbp,
36 const char *obj_name,
37 const char *file_name,
38 unsigned int minor_type,
39 size_t max_count);
40
41
42/* defined in db5_bin.c */
43
44/**
45 * Free the storage associated with a binunif_internal object
46 */
47RT_EXPORT extern void rt_binunif_free(struct rt_binunif_internal *bip);
48
49/**
50 * Diagnostic routine
51 */
52RT_EXPORT extern void rt_binunif_dump(struct rt_binunif_internal *bip);
53
54
55__END_DECLS
56
57#endif /* RT_BINUNIF_H */
58
59/*
60 * Local Variables:
61 * tab-width: 8
62 * mode: C
63 * indent-tabs-mode: t
64 * c-file-style: "stroustrup"
65 * End:
66 * ex: shiftwidth=4 tabstop=8
67 */
void rt_binunif_free(struct rt_binunif_internal *bip)
void rt_binunif_dump(struct rt_binunif_internal *bip)
int rt_mk_binunif(struct rt_wdb *wdbp, const char *obj_name, const char *file_name, unsigned int minor_type, size_t max_count)
Header file for the BRL-CAD common definitions.
Definition: wdb.h:62
fundamental vector, matrix, quaternion math macros