#include <stdlib.h>
#include <unistd.h>
-#include "discspan.h"
+#include "spandisc.h"
#include "logic.h"
#include "help.h"
--- /dev/null
+#ifndef _HELP_H
+#define _HELP_H
+
+void usage();
+
+#endif
+++ /dev/null
-#ifndef _DISCSPAN_H
-#define _DISCSPAN_H
-
-typedef struct {
- char name[255];
- unsigned long long fsize;
- unsigned int type;
-} file_size_t;
-
-typedef struct {
- int nr;
- unsigned long long freespace;
- int length;
- file_size_t *filearray;
-} medium_t;
-
-typedef struct {
- int length;
- medium_t *disc;
-} collection_t;
-
-#endif
+++ /dev/null
-#ifndef _HELP_H
-#define _HELP_H
-
-void usage();
-
-#endif
--- /dev/null
+#ifndef _SPANDISC_H
+#define _SPANDISC_H
+
+typedef struct {
+ char name[255];
+ unsigned long long fsize;
+ unsigned int type;
+} file_size_t;
+
+typedef struct {
+ int nr;
+ unsigned long long freespace;
+ int length;
+ file_size_t *filearray;
+} medium_t;
+
+typedef struct {
+ int length;
+ medium_t *disc;
+} collection_t;
+
+#endif
#include <stdlib.h>
#include <stdio.h>
-#include "discspan.h"
+#include "spandisc.h"
#include "filehandler.h"
void malloc_array_length(FILE *in, medium_t *srcdata)
#include <stdlib.h>
#include <string.h>
-#include "discspan.h"
+#include "spandisc.h"
#include "logic.h"
#include "splitter.h"
#include "filehandler.h"
#include <math.h>
#include <stdlib.h>
#include <string.h>
-#include "discspan.h"
+
+#include "spandisc.h"
#include "splitter.h"
#define S_IFREG 0100000 // bitmask for regular file; man inode