Crinit -- Configurable Rootfs Init
mock-glob-opt-set-boolean.h File Reference

(2023-10-16, commit: 49337e0)

Header declaring a mock function for crinitGlobOptSetBoolean(). More...

#include "globopt.h"
Include dependency graph for mock-glob-opt-set-boolean.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int __wrap_crinitGlobOptSetBoolean (size_t memberOffset, bool val)
 

Detailed Description

Header declaring a mock function for crinitGlobOptSetBoolean().

Function Documentation

◆ __wrap_crinitGlobOptSetBoolean()

int __wrap_crinitGlobOptSetBoolean ( size_t  memberOffset,
bool  val 
)

Mock function for crinitGlobOptSetBoolean().

Checks that the right parameters are given and returns a pre-set value through the cmocka API. Otherwise the function is a no-op.