Coda Distributed File System
Classes | Macros | Functions | Variables
updatesrv.cc File Reference
#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"
Include dependency graph for updatesrv.cc:

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

flistnamelist = NULL
 
int checknames = 1
 

Macro Definition Documentation

◆ UPDSRVNAME

#define UPDSRVNAME   "updatesrv"

Function Documentation

◆ AccessAllowed()

int AccessAllowed ( char *  name)

◆ InList()

int InList ( char *  name)

◆ main()

int main ( int  argc,
char **  argv 
)

◆ ReadExportList()

void ReadExportList ( )

◆ SFTP_Activate()

void SFTP_Activate ( SFTP_Initializer initPtr)

◆ SFTP_SetDefaults()

void SFTP_SetDefaults ( SFTP_Initializer initPtr)

◆ UpdateFetch()

long UpdateFetch ( RPC2_Handle  RPCid,
RPC2_String  FileName,
RPC2_Unsigned  Time,
RPC2_Unsigned NewTime,
RPC2_Unsigned CurrentSecs,
RPC2_Integer CurrentUsecs,
SE_Descriptor File 
)

◆ UpdateNewConnection()

long UpdateNewConnection ( RPC2_Handle  cid,
RPC2_Integer  SideEffectType,
RPC2_Integer  SecurityLevel,
RPC2_Integer  EncryptionType,
RPC2_Integer  AuthType,
RPC2_CountedBS ClientIdent 
)

◆ ViceErrorMsg()

char * ViceErrorMsg ( int  errorCode)

Variable Documentation

◆ checknames

int checknames = 1

◆ namelist

flist* namelist = NULL