Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
radle
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
maestro
radle
Commits
81ba1990
Unverified
Commit
81ba1990
authored
4 years ago
by
Jayesh Badwaik
Browse files
Options
Downloads
Patches
Plain Diff
[wip]
parent
2441abf6
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#54271
failed
4 years ago
Stage: Prelim
Stage: Test
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
cmake/configure/doxyfile.in
+1
-1
1 addition, 1 deletion
cmake/configure/doxyfile.in
doc/doxygen/index.md
+12
-1
12 additions, 1 deletion
doc/doxygen/index.md
src/include/radle/inventory.h
+15
-2
15 additions, 2 deletions
src/include/radle/inventory.h
with
28 additions
and
4 deletions
cmake/configure/doxyfile.in
+
1
−
1
View file @
81ba1990
This diff is collapsed.
Click to expand it.
doc/doxygen/index.md
+
12
−
1
View file @
81ba1990
radle is a parser for resource description files.
# radle
A resource description language (RDL) file for Maestro is a
The user facing interface for radle consists of the following data types and functions:
The structure of
[
inventory
](
#inventory
)
[
radle inventory
]
(@ref radle_inventory)
<a
name=
"inventory"
></a>
# Inventory
This diff is collapsed.
Click to expand it.
src/include/radle/inventory.h
+
15
−
2
View file @
81ba1990
...
...
@@ -19,9 +19,22 @@ typedef struct {
radle_resource
**
resource_ptr_array
;
}
radle_inventory
;
/// Initialize Inventory to A Sane State
/// Initialize radle_inventory to an empty state
///
/// @param inventory_ptr Pointer to the inventory to be initialized
///
/// This function
/// - sets `inventory_ptr->nresource=0`
/// - sets `inventory_ptr->resource_ptr_array=NULL`
///
/// Note: This function should only be used to initialize an uninitialized
/// radle_inventory object. This function does not destruct the previous
/// object pointed to by the `resource_ptr_array`, and hence, using them on
/// already initialized `radle_inventory` will lead to memory leaks.
void
radle_initialize_inventory
(
radle_inventory
*
inventory_ptr
);
/// Delete the Inventory Correctly
/// Delete the Contents of the Inventory
/// @param inventory_ptr Pointer to the inventory whose contents are to be
/// deleted.
void
radle_delete_inventory
(
radle_inventory
*
inventory_ptr
);
#endif // RADLE_INVENTORY_H
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment