version 1.1.1.1, 1999/09/28 21:25:41
|
version 1.2, 1999/11/02 19:10:44
|
Line 126 int capaGetExistingSections(ClientData c
|
Line 126 int capaGetExistingSections(ClientData c
|
return TCL_OK; |
return TCL_OK; |
} |
} |
|
|
|
/* finds how many set.db files there are */ |
|
int howManySetDBFile() |
|
{ |
|
char filename[BUFFER_SIZE], *pathName; |
|
int ii; |
|
|
|
pathName=getcwd(NULL,BUFFER_SIZE); |
|
ii=1; |
|
sprintf(filename,"%s/records/set%d.db",pathName,ii); |
|
while(!access(filename, F_OK)) { |
|
ii++; |
|
sprintf(filename,"%s/records/set%d.db",pathName,ii); |
|
} |
|
free(pathName); |
|
return (ii-1); |
|
} |
|
|
|
|
void message() |
void message() |
{ |
{ |
unsigned char *message= |
unsigned char *message= |