/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 2002-2011 AT&T Intellectual Property *
* and is licensed under the *
* Eclipse Public License, Version 1.0 *
* by AT&T Intellectual Property *
* *
* A copy of the License is available at *
* (with md5 checksum b35adb5213ca9657e911e9befb180842) *
* *
* Information and Software Systems Research *
* AT&T Research *
* Florham Park NJ *
* *
* Glenn Fowler <gsf@research.att.com> *
* David Korn <dgk@research.att.com> *
* *
***********************************************************************/
#pragma prototyped
/*
*/
#ifndef _ARDIR_H
#include <ast.h>
#include <ls.h>
/*
* retain this order!
*/
struct Ardirmeth_s
{
const char* name;
const char* description;
};
struct Ardirent_s
{
char* name;
#ifdef _ARDIRENT_PRIVATE_
#endif
};
struct Ardir_s
{
unsigned long version;
char* path;
unsigned long symtime;
void* data;
unsigned int flags;
int error;
int fd;
int truncate;
#ifdef _ARDIR_PRIVATE_
#endif
};
extern Ardirmeth_t* ardirmeth(const char*);
extern int ardirinsert(Ardir_t*, const char*, int);
extern const char* ardirspecial(Ardir_t*);
extern int ardirclose(Ardir_t*);
#endif