InFile            112 lib/util/params.c static int EatWhitespace( myFILE *InFile )
InFile            132 lib/util/params.c   for( c = mygetc( InFile ); isspace( c ) && ('\n' != c); c = mygetc( InFile ) )
InFile            137 lib/util/params.c static int EatComment( myFILE *InFile )
InFile            157 lib/util/params.c   for( c = mygetc( InFile ); ('\n'!=c) && (EOF!=c) && (c>0); c = mygetc( InFile ) )
InFile            186 lib/util/params.c static bool Section( myFILE *InFile, bool (*sfunc)(const char *, void *), void *userdata )
InFile            212 lib/util/params.c   c = EatWhitespace( InFile );    /* We've already got the '['.  Scan */
InFile            219 lib/util/params.c     if( i > (InFile->bSize - 2) )
InFile            223 lib/util/params.c       tb = talloc_realloc(InFile, InFile->bufr, char, InFile->bSize + BUFR_INC);
InFile            229 lib/util/params.c       InFile->bufr = tb;
InFile            230 lib/util/params.c       InFile->bSize += BUFR_INC;
InFile            237 lib/util/params.c         InFile->bufr[end] = '\0';
InFile            243 lib/util/params.c         if( !sfunc(InFile->bufr,userdata) )            /* Got a valid name.  Deal with it. */
InFile            245 lib/util/params.c         (void)EatComment( InFile );     /* Finish off the line.             */
InFile            249 lib/util/params.c         i = Continuation( InFile->bufr, i );    /* Check for line continuation.     */
InFile            252 lib/util/params.c           InFile->bufr[end] = '\0';
InFile            254 lib/util/params.c                    func, InFile->bufr ));
InFile            257 lib/util/params.c         end = ( (i > 0) && (' ' == InFile->bufr[i - 1]) ) ? (i - 1) : (i);
InFile            258 lib/util/params.c         c = mygetc( InFile );             /* Continue with next line.         */
InFile            264 lib/util/params.c           InFile->bufr[end] = ' ';
InFile            266 lib/util/params.c           c = EatWhitespace( InFile );
InFile            270 lib/util/params.c           InFile->bufr[i++] = c;
InFile            272 lib/util/params.c           c = mygetc( InFile );
InFile            282 lib/util/params.c static bool Parameter( myFILE *InFile, bool (*pfunc)(const char *, const char *, void *), int c, void *userdata )
InFile            316 lib/util/params.c     if( i > (InFile->bSize - 2) )       /* Ensure there's space for next char.    */
InFile            320 lib/util/params.c       tb = talloc_realloc(InFile, InFile->bufr, char, InFile->bSize + BUFR_INC );
InFile            326 lib/util/params.c       InFile->bufr = tb;
InFile            327 lib/util/params.c       InFile->bSize += BUFR_INC;
InFile            338 lib/util/params.c         InFile->bufr[end++] = '\0';         /* Mark end of string & advance.   */
InFile            341 lib/util/params.c         InFile->bufr[i] = '\0';             /* New string is nul, for now.     */
InFile            345 lib/util/params.c         i = Continuation( InFile->bufr, i );
InFile            348 lib/util/params.c           InFile->bufr[end] = '\0';
InFile            350 lib/util/params.c                    func, InFile->bufr ));
InFile            353 lib/util/params.c         end = ( (i > 0) && (' ' == InFile->bufr[i - 1]) ) ? (i - 1) : (i);
InFile            354 lib/util/params.c         c = mygetc( InFile );       /* Read past eoln.                   */
InFile            359 lib/util/params.c         InFile->bufr[i] = '\0';
InFile            360 lib/util/params.c         DEBUG(1,("%s Unexpected end-of-file at: %s\n", func, InFile->bufr ));
InFile            366 lib/util/params.c           InFile->bufr[end] = ' ';
InFile            368 lib/util/params.c           c = EatWhitespace( InFile );
InFile            372 lib/util/params.c           InFile->bufr[i++] = c;
InFile            374 lib/util/params.c           c = mygetc( InFile );
InFile            380 lib/util/params.c   c = EatWhitespace( InFile );  /* Again, trim leading whitespace. */
InFile            384 lib/util/params.c     if( i > (InFile->bSize - 2) )       /* Make sure there's enough room. */
InFile            388 lib/util/params.c       tb = talloc_realloc(InFile, InFile->bufr, char, InFile->bSize + BUFR_INC );
InFile            394 lib/util/params.c       InFile->bufr = tb;
InFile            395 lib/util/params.c       InFile->bSize += BUFR_INC;
InFile            401 lib/util/params.c         c = mygetc( InFile );   /* version called fgets_slash() which also  */
InFile            405 lib/util/params.c         i = Continuation( InFile->bufr, i );
InFile            410 lib/util/params.c           for( end = i; (end >= 0) && isspace((int)InFile->bufr[end]); end-- )
InFile            412 lib/util/params.c           c = mygetc( InFile );
InFile            417 lib/util/params.c         InFile->bufr[i++] = c;       /* not advance <end>.  This allows trimming  */
InFile            420 lib/util/params.c         c = mygetc( InFile );
InFile            424 lib/util/params.c   InFile->bufr[end] = '\0';          /* End of value. */
InFile            426 lib/util/params.c   return( pfunc( InFile->bufr, &InFile->bufr[vstart], userdata ) );   /* Pass name & value to pfunc().  */
InFile            429 lib/util/params.c static bool Parse( myFILE *InFile,
InFile            457 lib/util/params.c   c = EatWhitespace( InFile );
InFile            463 lib/util/params.c         c = EatWhitespace( InFile );
InFile            468 lib/util/params.c         c = EatComment( InFile );
InFile            472 lib/util/params.c         if( !Section( InFile, sfunc, userdata ) )
InFile            474 lib/util/params.c         c = EatWhitespace( InFile );
InFile            478 lib/util/params.c         c = EatWhitespace( InFile );
InFile            482 lib/util/params.c         if( !Parameter( InFile, pfunc, c, userdata ) )
InFile            484 lib/util/params.c         c = EatWhitespace( InFile );
InFile            543 lib/util/params.c   myFILE *InFile;
InFile            546 lib/util/params.c   InFile = OpenConfFile( FileName );          /* Open the config file. */
InFile            547 lib/util/params.c   if( NULL == InFile )
InFile            552 lib/util/params.c   if( NULL != InFile->bufr )                          /* If we already have a buffer */
InFile            553 lib/util/params.c     result = Parse( InFile, sfunc, pfunc, userdata );   /* (recursive call), then just */
InFile            558 lib/util/params.c     InFile->bSize = BUFR_INC;                         /* then free.                  */
InFile            559 lib/util/params.c     InFile->bufr = talloc_array(InFile, char, InFile->bSize );
InFile            560 lib/util/params.c     if( NULL == InFile->bufr )
InFile            563 lib/util/params.c       talloc_free(InFile);
InFile            566 lib/util/params.c     result = Parse( InFile, sfunc, pfunc, userdata );
InFile            567 lib/util/params.c     InFile->bufr  = NULL;
InFile            568 lib/util/params.c     InFile->bSize = 0;
InFile            571 lib/util/params.c   talloc_free(InFile);