/***********************************************************************
* *
* 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> *
* *
***********************************************************************/
/*
* Replicated Source Control System (RSCS)
* Herman Rao
*/
#ifndef _VCS_RSCS_H
#define _VCS_RSCS_H
#include <cs.h>
{
};
/*
* structure of sfile
*
* attr tags_region delta_region log_region
* __________________________________________________________
* | |T|T|T|T| ......|D |D |..... |T|D |T|D |
* ----------------------------------------------------------
*
*/
struct attr_t
{
};
struct tag_t
{
};
/*
* used by lookup_tag()
*/
struct rdirent_t
{
};
#define APPEND_VERSION(fd, tp, df) {locking(fd); sfwrite(fd,(char *)tp,tp->length); sfseek(df, 0L, 0); sfmove(df,fd,-1,-1); unlocking(fd);}
/*
* list of error code
*/
extern int rserrno;
char* stamp2version();
char* rs_readlink();
tag_t* gettagbyname();
tag_t* getmarkerbyto();
tag_t* getmarkerbyfrom();
#endif