GVM User Suite
User tools for the GVM open source project.
Functions
configs.c File Reference
#include <utils/configs.h>
#include <toml.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
Include dependency graph for configs.c:

Go to the source code of this file.

Functions

static void failed_parse (const char *s)
 
struct GpuConfigs get_configs (const char *name)
 Parses a config file. More...
 

Function Documentation

◆ failed_parse()

static void failed_parse ( const char *  s)
inlinestatic

Definition at line 29 of file configs.c.

◆ get_configs()

struct GpuConfigs get_configs ( const char *  name)

Parses a config file.

This code parses a config file and produces a GpuConfig object.

Parameters
name- Name of the config file.
Returns
A gpu config file, which tells us what mdevs to create.

Definition at line 29 of file configs.c.

Here is the caller graph for this function: