/*
**      $VER: cgxmpeg_protos.h 1.0 (28.02.97)
**
**      prototypes for cgxmpeg.library
**
**      (C) Copyright 1997 phase5 digital products
**      All Rights Reserved.
*/

#ifndef CLIB_CGXMPEG_PROTOS_H
#define CLIB_CGXMPEG_PROTOS_H

#ifndef CYBERGRAPHX_CGXMPEG_H
#include <cybergraphx/cgxmpeg.h>
#endif

struct MPGIOHandler *AddIOHandlerTagList(struct MPGHandle *,
                                         struct TagItem *);

struct MPGIOHandler *AddIOHandlerTags(struct MPGHandle *,
                                      Tag, ...);

void RemoveIOHandler(struct MPGIOHandler *);

struct MPGHandle *CreateMPGHandleTagList(struct TagItem *);

struct MPGHandle *CreateMPGHandleTags(Tag, ...);

void DeleteMPGHandle(struct MPGHandle *);

ULONG DecodeFrame(struct MPGHandle *);

ULONG Interact(struct MPGHandle *,
               ULONG action);

ULONG GetState(struct MPGHandle *);

#endif
