model_server/project/src/proj_restore.cxx
// returns 1 on success
//         0 on failure
returns 1 on success
0 on failure
returns 1 on success 0 on failure
int prjParser::get_next (char *buf, char *& st, char *& en)
{
    Initialize(prjParser::get_next);
    int ret = 0;
    st = en = 0;
    if (!buf || !buf[0])
	return ret;
    int ii;
    for (ii = 0 ; buf[ii] && buf[ii] == pline.sep; ii++);
    st = &buf[ii];
    if ( *st )
    {
      ret = 1;
      en = str_find_char( st, pline.sep );
    }
    else
      err_msg = "Not enough parameters.";
    return ret;
}
int prjParser :: get_next ( char * buf , char * & st , char * & en ) { Initialize ( prjParser :: get_next ) ; int ret = 0 ; st = en = 0 ; if ( ! buf || ! buf [ 0 ] ) return ret ; int ii ; for ( ii = 0 ; buf [ ii ] && buf [ ii ] == pline . sep ; ii ++ ) ; st = & buf [ ii ] ; if ( * st ) { ret = 1 ; en = str_find_char ( st , pline . sep ) ; } else err_msg = " " ; return ret ; }
returns 1 on success
0 on failure
returns 1 on success 0 on failure