|
Coda Distributed File System
|
#include <sys/types.h>#include <sys/param.h>#include <sys/stat.h>#include <sys/file.h>#include <time.h>#include <stdio.h>#include <stdlib.h>#include <errno.h>#include <stdarg.h>#include "coda_assert.h"#include <signal.h>#include <fcntl.h>#include "coda_string.h"#include "coda_flock.h"#include <lwp/lwp.h>#include <lwp/lock.h>#include <rpc2/rpc2.h>#include <rpc2/rpc2_addrinfo.h>#include <rpc2/se.h>#include <vice.h>#include <util.h>#include <vice_file.h>#include <codaconf.h>#include <coda_getservbyname.h>#include "update.h"#include "getsecret.h"
Classes | |
| struct | flist |
Macros | |
| #define | UPDSRVNAME "updatesrv" |
Functions | |
| void | SFTP_SetDefaults (SFTP_Initializer *initPtr) |
| void | SFTP_Activate (SFTP_Initializer *initPtr) |
| char * | ViceErrorMsg (int errorCode) |
| void | ReadExportList () |
| int | InList (char *name) |
| int | main (int argc, char **argv) |
| int | AccessAllowed (char *name) |
| long | UpdateFetch (RPC2_Handle RPCid, RPC2_String FileName, RPC2_Unsigned Time, RPC2_Unsigned *NewTime, RPC2_Unsigned *CurrentSecs, RPC2_Integer *CurrentUsecs, SE_Descriptor *File) |
| long | UpdateNewConnection (RPC2_Handle cid, RPC2_Integer SideEffectType, RPC2_Integer SecurityLevel, RPC2_Integer EncryptionType, RPC2_Integer AuthType, RPC2_CountedBS *ClientIdent) |
Variables | |
| flist * | namelist = NULL |
| int | checknames = 1 |
| #define UPDSRVNAME "updatesrv" |
| int AccessAllowed | ( | char * | name | ) |
| int InList | ( | char * | name | ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
| void ReadExportList | ( | ) |
| void SFTP_Activate | ( | SFTP_Initializer * | initPtr | ) |
| void SFTP_SetDefaults | ( | SFTP_Initializer * | initPtr | ) |
| long UpdateFetch | ( | RPC2_Handle | RPCid, |
| RPC2_String | FileName, | ||
| RPC2_Unsigned | Time, | ||
| RPC2_Unsigned * | NewTime, | ||
| RPC2_Unsigned * | CurrentSecs, | ||
| RPC2_Integer * | CurrentUsecs, | ||
| SE_Descriptor * | File | ||
| ) |
| long UpdateNewConnection | ( | RPC2_Handle | cid, |
| RPC2_Integer | SideEffectType, | ||
| RPC2_Integer | SecurityLevel, | ||
| RPC2_Integer | EncryptionType, | ||
| RPC2_Integer | AuthType, | ||
| RPC2_CountedBS * | ClientIdent | ||
| ) |
| char * ViceErrorMsg | ( | int | errorCode | ) |
| int checknames = 1 |