Crinit -- Configurable Rootfs Init
mock-build-rtim-cmd.h File Reference

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

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

#include "rtimcmd.h"
Include dependency graph for mock-build-rtim-cmd.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int __wrap_crinitBuildRtimCmd (crinitRtimCmd_t *c, crinitRtimOp_t op, int argc,...)
 

Detailed Description

Header declaring a mock function for crinitBuildRtimCmd().

Function Documentation

◆ __wrap_crinitBuildRtimCmd()

int __wrap_crinitBuildRtimCmd ( crinitRtimCmd_t c,
crinitRtimOp_t  op,
int  argc,
  ... 
)

Mock function for crinitBuildRtimCmd().

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