/* sys/ea.h (emx+gcc) */

#if !defined (_SYS_EA_H)
#define _SYS_EA_H

#if defined (__cplusplus)
extern "C" {
#endif

struct _ea
{
  int flags;
  int size;
  void *value;
};

void _ea_free (struct _ea *ptr);
int _ea_get (struct _ea *dst, __const__ char *path, int handle,
    __const__ char *name);
int _ea_put (struct _ea *src, __const__ char *path, int handle,
    __const__ char *name);
int _ea_remove (__const__ char *path, int handle, __const__ char *name);

#if defined (__cplusplus)
}
#endif

#endif /* !defined (_SYS_EA_H) */
