HOPS
HOPS class reference
Macros | Functions
extract_filenames.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include "fstruct.h"
#include "mk4_util.h"
#include "msg.h"

Macros

#define MAXDEPTH   2 /* Any deeper and you risk some idiot */
 

Functions

int extract_filenames (char *directory, int type, fstruct **files, int *nalloc, int *filenum, int *depth)
 

Macro Definition Documentation

◆ MAXDEPTH

#define MAXDEPTH   2 /* Any deeper and you risk some idiot */

Function Documentation

◆ extract_filenames()

int extract_filenames ( char *  directory,
int  type,
fstruct **  files,
int *  nalloc,
int *  filenum,
int *  depth 
)