view rvinterf/include/tmffs1.h @ 441:b23743555ca8

OSL: os_sem_fl.c started
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 23 Jun 2014 00:23:49 +0000
parents c146f38d2b5f
children
line wrap: on
line source

/******************************************************************************
 * FFS1 Protocol Indentifiers
 ******************************************************************************/

enum FFS1_PROTOCOL_IDENTIFIERS {
    FPI_END = 0,         /* end */
    FPI_BEGIN,           /* begin */
    FPI_TMFFS_VERSION,   /* tmffs_version */

    FPI_PREFORMAT,       /* preformat */
    FPI_FORMAT,          /* format */

    FPI_FCREATE,         /* fcreate */
    FPI_FUPDATE,         /* fupdate */
    FPI_FWRITE,          /* fwrite */
    FPI_FREAD,           /* fread */
    FPI_REMOVE,          /* remove */

    FPI_MKDIR,           /* mkdir */
    FPI_OPENDIR,         /* opendir */
    FPI_READDIR,         /* readdir */

    FPI_STAT,            /* stat */
    FPI_LINKSTAT,        /* linkstat */

    FPI_SYMLINK,         /* symlink */
    FPI_READLINK,        /* readlink */

    FPI_QUERY,           /* query */
    FPI_FCONTROL,        /* fcontrol */

    FPI_INIT,            /* init */
    FPI_EXIT,            /* exit */

    FPI_PCM_GETFILEINFO, /* getfileinfo */
    FPI_PCM_READFILE,    /* readfile */
    FPI_PCM_WRITEFILE,   /* writefile */
    FPI_PCM_READRECORD,  /* readrecord */
    FPI_PCM_WRITERECORD, /* writerecord */

    FPI_BUFREAD,         /* buf_read */
    FPI_BUFWRITE,        /* buf_write */
    FPI_BUFSET,          /* buf_set */

    FPI_UINT8,           /* UINT8 */
    FPI_UINT16,          /* UINT16 */
    FPI_UINT32,          /* UINT32 */
    FPI_INT8,            /* INT8 */
    FPI_INT16,           /* INT16 */
    FPI_INT32,           /* INT32 */
    FPI_BUFFER,          /* BUFFER */
    FPI_DATA,            /* DATA */
    FPI_STRBUF,          /* STRBUF */
    FPI_STRING,          /* STRING */

    FPI_TFFS             /* TFFS */

};