#ifndef CONFIG_SPANDISC_IN_H
#define CONFIG_SPANDISC_IN_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define SPANDISC_VERSION "@PROJECT_VERSION@"
+#ifdef __cplusplus
+}
+#endif
+
#endif
#ifndef _FILEHANDLER_H
#define _FILEHANDLER_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* Read a text file with file pathes into medium_t struct
*
*/
void write_output_file(const char *output, medium_t disc);
+#ifdef __cplusplus
+}
+#endif
+
#endif
#ifndef _LIBSPANDISC_H
#define _LIBSPANDISC_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
// contains struct types
#include "spandisc.h"
// contains spanning logic with read and write file
// contains splitting logic
#include "splitter.h"
+#ifdef __cpluscplus
+}
+#endif
+
#endif
#ifndef _LOGIC_H
#define _LOGIC_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
const char *get_version();
/**
*/
void span(const char *input, const char *output, unsigned long long split);
+#ifdef __cplusplus
+}
+#endif
+
#endif
#ifndef _SPANDISC_H
#define _SPANDISC_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct {
char name[255];
unsigned long long fsize;
medium_t *disc;
} collection_t;
+#ifdef __cplusplus
+}
+#endif
+
#endif
#ifndef _SPLITTER_H
#define _SPLITTER_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
void free_medium(medium_t *medium);
void free_collection(collection_t *col);
*/
collection_t split_all(medium_t *srcdata);
+#ifdef __cplusplus
+}
+#endif
+
#endif
#ifndef CONFIG_DISCSPAN_IN_H
#define CONFIG_DISCSPAN_IN_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define DISCSPAN_VERSION "@PROJECT_VERSION@"
+#ifdef __cplusplus
+}
+#endif
+
#endif
#ifndef _HELP_H
#define _HELP_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
void useage();
+#ifdef __cplusplus
+}
+#endif
+
#endif