Files
epics-base/modules/libcom/RTEMS/epicsMemFs.h
Gabriel Fedel 6feb1c788d Add extern C for all c headers
This allow that these files could be imported to c++ correctly
2020-02-13 14:21:54 +00:00

33 lines
853 B
C

/*************************************************************************\
* Copyright (c) 2014 Brookhaven National Laboratory.
* EPICS BASE is distributed subject to a Software License Agreement found
* in file LICENSE that is included with this distribution.
\*************************************************************************/
#ifndef EPICSMEMFS_H
#define EPICSMEMFS_H
#include <stdlib.h>
typedef struct {
const char * const *directory; /* NULL terminated list of directories */
const char *name; /* file name */
const char *data; /* file contents */
size_t size; /* size of file contents in bytes */
} epicsMemFile;
typedef struct {
const epicsMemFile * const *files;
} epicsMemFS;
#ifdef __cplusplus
extern "C" {
#endif
int epicsMemFsLoad(const epicsMemFS *fs);
#ifdef __cplusplus
}
#endif
#endif // EPICSMEMFS_H