A
PPENDICES
S
ECTION
A
PPENDIX
C
484
8
E
6 T
ECHNOLOGIES
, R3000 E
NTERPRISE
F
ILTER
U
SER
G
UIDE
char *word;
int ll;
wsize = 102400;
ll=0;
word = (char *) malloc(sizeof(char) * (wsize + 1));
while(1)
{
word[ll] = (char)fgetc(f);
if(ll==wsize)
{
word[ll+1] = '\0';
wsize+=102400;
word = (char
*)realloc(word,sizeof(char)*(wsize+1));
}
--(*cl);
if((word[ll] == stop) || (feof(f)) || (!(*cl)))
{
if(word[ll] != stop)
ll++;
word[ll] = '\0';
return word;
}
++ll;
}
}
/* to_upper:
* Change the string to upper case
*/
int to_upper(char *string)
{
int len;
int i;
char *tmp=NULL;
if (string && strlen(string))
{
if (!(tmp=(char*)strdup(string)))
return 0;
len=strlen(string);
for (i=0; i<len; i++)
{
string[i]=toupper(tmp[i]);
}
free(tmp);
}
return 1;
Содержание Enterprise Filter Authentication R3000
Страница 1: ... R3000 Enterprise Filter USER GUIDE Model R3000 Release 2 1 00 Manual Version 1 02 ...
Страница 2: ...ii 8E6 TECHNOLOGIES R3000 ENTERPRISE FILTER USER GUIDE ...
Страница 4: ...iv 8E6 TECHNOLOGIES R3000 ENTERPRISE FILTER USER GUIDE ...
Страница 24: ...CONTENTS xxiv 8E6 TECHNOLOGIES R3000 ENTERPRISE FILTER AUTHENTICATION USER GUIDE Glossary 547 INDEX 555 ...
Страница 578: ...APPENDICES SECTION APPENDIX H 554 8E6 TECHNOLOGIES R3000 ENTERPRISE FILTER USER GUIDE ...
Страница 594: ...INDEX 570 8E6 TECHNOLOGIES R3000 ENTERPRISE FILTER USER GUIDE ...