FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
int DimBrowser::getNextServer
(
char *&
server
,
char *&
node
)
Definition at line
982
of file
diccpp.cxx
.
References
DimInfo::itsData
.
Referenced by
main()
.
983
{
984
int
ret;
985
986
server =
node
= &
none
;
987
ret =
itsData
[1]->
getToken
(
currToken
);
988
if
(!ret)
return
0;
989
server =
currToken
;
990
ret =
itsData
[1]->
getToken
(
currToken
);
991
if
(!
itsData
[1]->cmpToken((
char
*)
"@"
))
992
return
0;
993
while
(1)
994
{
995
ret =
itsData
[1]->
getToken
(
currToken
);
996
node
=
currToken
;
997
itsData
[1]->
pushToken
();
998
ret =
itsData
[1]->
getToken
(
currToken
);
999
if
(
itsData
[1]->cmpToken((
char
*)
"@"
))
1000
{
1001
strcat(server,
"@"
);
1002
strcat(server,
node
);
1003
}
1004
else
1005
break
;
1006
}
1007
if
(!
itsData
[1]->cmpToken((
char
*)
"|"
))
1008
itsData
[1]->
popToken
();
1009
return
1;
1010
}
node
Definition:
dns.c:26
DimBrowser::none
char none
Definition:
dic.hxx:509
DimBrowser::currToken
char * currToken
Definition:
dic.hxx:508
TokenString::getToken
int getToken(char *&token)
Definition:
tokenstring.cxx:145
DimBrowser::itsData
TokenString * itsData[5]
Definition:
dic.hxx:506
TokenString::popToken
void popToken()
Definition:
tokenstring.cxx:167
TokenString::pushToken
void pushToken()
Definition:
tokenstring.cxx:162
Here is the caller graph for this function:
DimBrowser
Generated on Sun Sep 18 2016 20:50:47 for FACT++ by
1.8.11