/***************************************************************************
 *                                                                         *
 *   NEXTLINE.C                                                            *
 *                                                                         *
 *   Copyright (c) 1997      Galacticomm, Inc.    All Rights Reserved.     *
 *                                                                         *
 *   Find the next line in a string.                                       *
 *                                                                         *
 *                                            - J. Alvrus   5/29/97        *
 *                                                                         *
 ***************************************************************************/

#include "gcomm.h"

#define FILREV "$Revision: 2 $"

CHAR *                             /*   ptr to first char on line or NULL  */
nextLine(                          /* find next line in a string           */
const CHAR *str,                   /*   string to search                   */
const CHAR *eol)                   /*   end-of-line marker string          */
{
     if ((str=strstr(str,eol)) != NULL) {
          str+=strlen(eol);
     }
     return((CHAR *)str);
}
