/***********************************************************************
* *
* 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> *
* *
***********************************************************************/
#pragma prototyped
/*
* Glenn Fowler
* AT&T Research
*
* simple name service on port 6263 (use the phone keypad luke)
* client sends cs connect stream path
*/
#include <css.h>
#include <error.h>
static int
{
register ssize_t n;
register char* s;
register char* t;
int ud;
{
return -1;
path[n - 1] = 0;
{
if (t = strrchr(s, '.'))
*t = 0;
}
else
s = 0;
if (s)
n = strlen(s);
else
{
s = path;
n = 0;
}
s[n++] = '\n';
}
return -1;
}
static int
{
switch (op)
{
case CSS_INTERRUPT:
return 0;
case CSS_DORMANT:
exit(0);
}
return -1;
}
int
{
exit(1);
exit(1);
}