/*----------------------------------------------------------------------
   adm.h - Velocis Client definitions.

   Copyright (c) 1992-1994 Raima Corporation.  All Rights Reserved.
----------------------------------------------------------------------*/

#ifndef ADM_H
#define ADM_H

#ifdef __cplusplus
extern "C" {
#endif

#include "catalog.h"
#include "catlen.h"

/* Constants used in s_sendfile/s_recvfile */
#define FI_CREATE 1         /* code for File Creation */
#define FI_OPEN   2         /* code for File Open */
#define FI_CLOSE  4         /* code for File Close */
#define FI_HOLD   8         /* code for File Hold */

/* Constants used in s_  show functions */

#define FETCHFIRST 0
#define FETCHNEXT 1

/* HELP RichM:  these MUST match something in catlen.h -- but what? */
#define DBASENAMELEN 13
#define FILELEN 16

typedef struct {
    char fname[FILELEN];
    char fdevice[DEVNAME_LEN];
} FILEDEV;

typedef struct {
    char dbdfiledev[DEVNAME_LEN];
    struct dbase db;
} DBD_DBF;

typedef struct {
    struct userinf us;
    char usdevice[DEVNAME_LEN];
} USERINF_CHG;


typedef struct {
    struct extmodule em;
    char emdevice[DEVNAME_LEN];
} EM_CHG;

#ifdef __cplusplus
}
#endif

#endif

/*
$Header:   P:/PAT/INCLUDE/VCS/ADM.H_V   1.8   18 Apr 1994 12:09:28   RICHM  $
*/
