/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
#ident "%Z%%M% %I% %E% SMI" /* from SVR4 bnu:security.c 1.3 */
/*
*/
#include "uucp.h"
#include "log.h"
extern int guinfo();
/*
* SYMBOL DEFINITIONS
*/
/*
* STRUCTURE DEFINITIONS
*/
{
source file */
started */
completed */
};
{
issued*/
};
/*
* LOCAL DATA
*/
/*
* LOCAL FUNCTIONS
*/
/*
* Local Function: newRec - Initialize new record
*/
STATIC_FUNC void
char * type;
{
}
else {
}
return;
}
/*
* EXTERNAL FUNCTIONS
*/
/*
* Function: scInit - Initialize Security Package
*
* This function allows the security package to initialize its internal
* data structures. It should be called when uucico starts running on master
* or slave, or uuxqt is invoked.
*
* Parameters:
*
* type: file transfer or remote exec.
*/
void
char * type;
{
errno = 0;
}
if (LogFile < 0){
Collecting = FALSE;
return;
}
}
return;
}
/*
* Function: scWrite - write an entry to the log
* initialize the next entry
*/
void
scWrite()
{
);
/* Terminate the record and write it out. */
return;
}
/*
* Function: scReqsys - log requestor system name
*
* Parameters:
* reqsys: master machine name
*/
void
char * reqsys;
{
return;
}
/*
* Function: scRequser - log requestor user name
*
* Parameters:
* requser: one who issued the command
*/
void
char * requser;
{
return;
}
/*
* Function: scStime - log start transfer time
*
*/
void
scStime()
{
return;
}
/*
* Function: scEtime - log end transfer time
*
*/
void
scEtime()
{
return;
}
/*
* Function: scDest - log destination node, user and file name
*
* Parameters:
* destsys: system where the dest file is sent to
* destuser: user where the dest file is sent to
* destfile: name of the dest file
*
*/
void
char * destsys;
char * destuser;
char * destfile;
{
return;
}
/*
* Function: scSrc - log source node, file owner, file name
* modification time and size
*
* Parameters:
* srcsys: system where the source file is recieved from
* srcowner: owner of the source file
* srcfile: name of the source file
* srcmtime: modification date and time of source file
* srcsize: size of the source file
*
*/
void
char * srcsys;
char * srcowner;
char * srcfile;
char * srcmtime;
char * srcsize;
{
return;
}
/*
* Function: scSize - get size of source file
*
* parameter srcfile: name of the source file
*
*/
char *
char * srcfile;
{
return(NOTAVAIL);/* fail, set it "" */
return(size);
}
/*
* Function: scOwn - get owner of source file
*
* parameter srcfile: name of the source file
*
*/
char *
char * srcfile;
{
return(NOTAVAIL);
return(user);
}
/*
* Function: scMtime - get modification date and time of source file
*
* parameter srcfile: name of the source file
*
*/
char *
char * srcfile;
{
return(NOTAVAIL);
return(mtime);
}
/*
* Function - scRexe: It is called when uuxqt is running
*
* Parameter:
* clientsys - Client node name.
* clientusr - Client user ID.
* serverusr - Server user ID.
* cmd - command to be execed by uuxqt
*/
void
char * clientsys;
char * clientusr;
char * serverusr;
char * cmd;
{
return;
}
/*
* Function - scWlog: It is called when the violation is occurred
*
*/
void
scWlog()
{
);
/* Terminate the record and write it out. */
return;
}