File: shell.h

package info (click to toggle)
rauc 1.15-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 6,336 kB
  • sloc: ansic: 36,989; python: 3,354; sh: 1,391; xml: 53; makefile: 41
file content (16 lines) | stat: -rw-r--r-- 439 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <glib.h>

#include "manifest.h"

/**
 * Add the meta-data contents from a manifest as newly allocated strings to a
 * GPtrArray, formatted for use as shell variables.
 *
 * This is useful for the 'rauc info' command and hooks/handlers.
 *
 * @param ptrarray GPtrArray to add to
 * @param manifest RaucManifest to use as input
 */
void r_shell_from_manifest_meta(GPtrArray *shell_vars, const RaucManifest *manifest);