home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1999 March B
/
SCO_CASTOR4RRT.iso
/
nsu
/
root
/
usr
/
include
/
iaf.h
/
iaf
Wrap
Text File
|
1998-08-19
|
2KB
|
63 lines
/*
* Copyright (c) 1998 The Santa Cruz Operation, Inc.. All Rights Reserved.
*
* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF THE
* SANTA CRUZ OPERATION INC.
*
* The copyright notice above does not evidence any actual or intended
* publication of such source code.
*/
/* copyright "%c%" */
/* Copyright (c) 1989 AT&T */
/* All Rights Reserved */
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
/* The copyright notice above does not evidence any */
/* actual or intended publication of such source code. */
#ifndef _IAF_H
#define _IAF_H
#ident "@(#)iaf.h 1.2"
/*
* IAF function declarations
*/
#ifdef __cplusplus
extern "C" {
#endif
#include <sys/iaf.h>
int invoke(int, char *); /* invoke the named scheme/command */
char *getava(char *, char **); /* local interrogation of the AVA list */
char **putava(char *, char **); /* local manipulation of the AVA list */
char **retava(int); /* retrieves AVA list from module on fd */
int setava(int, char **); /* sends AVA list to module on fd */
char **strtoargv(char *); /* changes cmd string to argv type list */
char *argvtostr(char **); /* changes argv type list to cmd string */
/* moved from ia.h */
int set_id(char *); /* set the user identity */
int set_env(void); /* set user env. */
int attrmap(char *, char *, char *);
int namemap(char *, char *, char *);
#define IAFDIR "/usr/lib/iaf/" /* where the schemes live */
#define AVASIZ 1024 /* default size for AVA list */
#ifndef NULL
#define NULL 0
#endif
#ifdef __cplusplus
}
#endif
#endif /* _IAF_H */