aboutsummaryrefslogtreecommitdiffstats
path: root/core.lv2/lv2config.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-16 16:46:13 +0000
committerDavid Robillard <d@drobilla.net>2011-03-16 16:46:13 +0000
commit6fc7cd53ee08fdf84202c0a0b2c43ddb50630bd7 (patch)
tree80ab1a5911c87fc97ed0304ab64f09bc476ac8c7 /core.lv2/lv2config.c
parent01f4745acad7347e794a7e5e6aeae32c153288ec (diff)
downloadlv2-6fc7cd53ee08fdf84202c0a0b2c43ddb50630bd7.tar.xz
Tidy documentation.
Diffstat (limited to 'core.lv2/lv2config.c')
-rw-r--r--core.lv2/lv2config.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/core.lv2/lv2config.c b/core.lv2/lv2config.c
index 7674c14..e69b601 100644
--- a/core.lv2/lv2config.c
+++ b/core.lv2/lv2config.c
@@ -43,11 +43,13 @@
#define NS_RDF "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
#define NS_LV2 "http://lv2plug.in/ns/lv2core#"
+/** Record of an LV2 specification. */
typedef struct _Spec {
SerdNode uri;
SerdNode manifest;
} Spec;
+/** Global lv2config state. */
typedef struct {
SerdReader reader;
SerdReadState state;
@@ -56,7 +58,7 @@ typedef struct {
size_t n_specs;
} World;
-/* Append a discovered specification to world->specs. */
+/** Append a discovered specification to world->specs. */
void
add_spec(World* world,
SerdNode* uri,
@@ -83,7 +85,7 @@ free_specs(World* world)
world->n_specs = 0;
}
-/** Reader @base directive handler. */
+/** Reader base directive handler. */
bool
on_base(void* handle,
const SerdNode* uri_node)
@@ -92,7 +94,7 @@ on_base(void* handle,
return serd_read_state_set_base_uri(world->state, uri_node);
}
-/** Reader @prefix directive handler. */
+/** Reader prefix directive handler. */
static bool
on_prefix(void* handle,
const SerdNode* name,
@@ -156,7 +158,7 @@ scan_manifest(World* world, const char* uri)
world->state = NULL;
}
-/** Expand variables, ~, etc. in path. */
+/** Expand variables (e.g. ~) in path. */
static char*
expand(const char* path)
{