/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1990-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> *
* *
***********************************************************************/
/*
* File: ifs_agent.h
*/
#include <cs.h>
#include <ls.h>
#include "ifs_errno.h"
#ifdef DEBUG
#else
#endif
typedef int (FUNC)();
typedef struct sNetFile {
int socket;
int err;
} NetFile;
struct agent_item {
char *name;
char *localdata;
};
struct mount_item {
int mode;
char *lpath;
char *proto;
char *user;
int pass;
int passlen;
char *host;
int port;
char *rpath;
};
struct mount_list {
int uid;
};
struct server_info {
char *lpath;
char *proxy;
int flags;
};
extern int cserrno;
extern int IfsAbortFlag;
extern void* MallocZero();
extern NetFile* NetConnect();
extern int NetClose();
extern int NetRead();
extern char* NetGets();
extern int NetWrite();