/*      wildname.h                                    03.05.95       */
/*
/  --------------------------------------------------------------
/  Copyright (C) 1993: Michael Braun
/                      Kaetinger Muehlenweg 103 A
/                      D-28816 Stuhr
/  --------------------------------------------------------------
/
/    header file for wildname.c
/
*/


/* constants */

#if (ACT_OP_SYSTEM == MS_DOS)
#define MAX_FILENAME 13
#else
#define MAX_FILENAME 32
#endif


/* structures */

struct DIR_ENTRY
       {
          int dir_flag;    /* 1 = directory, 0 = file */
          char name [MAX_FILENAME];
       };


/* function prototypes */

/* local */
#if (QSORT_FUNC_ANSI)
static int comp_dirs  (const void *de1, const void *de2);
static int comp_names (const void *de1, const void *de2);
#else
static int comp_dirs  ();
static int comp_names ();
#endif

extern struct DIR_ENTRY *get_directory_buffer (char *path  , struct DIR_ENTRY *de,
                                               int *dir_num, int *total_num);

/* -FF-  */

/* Modification History */
/* 03.05.95 - file erzeugt */
