diff --git a/css/nord.css b/css/nord.css index 047cee7..ed8f24f 100644 --- a/css/nord.css +++ b/css/nord.css @@ -100,7 +100,7 @@ html { border-radius: 2px; padding: 4px; width: 50%; - color: #2E3440; + color: #D8DEE9; } .news { @@ -181,7 +181,7 @@ warnhead { border-radius: 2px; padding: 6px; width: 50%; - color: #2E3440; + color: #D8DEE9; } newshead { @@ -395,7 +395,13 @@ body, html { hr { color: #88c0d0; - height: 20px; - width: 0px; - border-width: 0px; + width: 50%; + border-width: 4px; + border-radius: 5px; + margin-left: 0; +} + +.tab { + display: inline-block; + margin-left: 80px; } diff --git a/docs/libglacier.html b/docs/libglacier.html index dbd4dcc..2b72d8a 100644 --- a/docs/libglacier.html +++ b/docs/libglacier.html @@ -59,15 +59,16 @@
#include <glacier_log.h>
#include <glacier_pkgops.h>
#include <glacier_runtime.h>
+#include <glacier_security.h>
-To compile
-lconfig
To compile
$ gcc program.c -lglacier -o program
4.1 init_config
-No parameters are accepted by
int
main()
{
-init_config();
+if (init_config() != 0) {
+errlog("failed to initialize libconfig"); +
return(EXIT_FAILURE);
+}
+else {
+successlog("Initialized libconfig"); +
}
}
4.2 die_config
No parameters are accepted by
int
main()
{
-struct node pack = create_node("pack"); -
struct node dep1 = create_node("dep1"); -
add_child(pack, dep1);
+struct node pack = create_node("pack"); +
struct node dep1 = create_node("dep1"); +
add_child(pack, dep1);
}
5.3 print_tree
@@ -159,12 +166,27 @@int
main()
{
-struct node pack = create_node("pack");
-struct node dep1 = create_node("dep1");
-add_child(pack, dep1);
-print_tree(pack, 0);
+struct node pack = create_node("pack");
+struct node dep1 = create_node("dep1");
+add_child(pack, dep1);
+print_tree(pack, 0);
}
+5.4 init_queue
+#include <glacier_data.h>
++
int
+main()
+{
+hi
+The logging functions
0 on success
1 on failure
#include <glacier_pkgops.h>