Crinit -- Configurable Rootfs Init
mock-crinit-xfer.h File Reference

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

Implementation of a mock function for crinitXfer(). More...

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

Go to the source code of this file.

Functions

int __wrap_crinitXfer (const char *sockFile, crinitRtimCmd_t *res, const crinitRtimCmd_t *cmd)
 

Detailed Description

Implementation of a mock function for crinitXfer().

Function Documentation

◆ __wrap_crinitXfer()

int __wrap_crinitXfer ( const char *  sockFile,
crinitRtimCmd_t res,
const crinitRtimCmd_t cmd 
)

Mock function for crinitXfer().

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