| 
            Last change
 on this file since 1518 was             1200, checked in by John Small, 17 years ago           | 
        
        
          | 
             
Ticket 187: Set properties and improve comments 
 
           | 
        
        
          
            
              - 
Property                 svn:eolstyle
 set to                 
native
               
              - 
Property                 svn:keywords
 set to                 
Id
               
             
           | 
        
        
          | 
            File size:
            1.0 KB
           | 
        
      
      
| Rev | Line |   | 
|---|
| [1168] | 1 | 
 | 
|---|
 | 2 | /***********************************************************************
 | 
|---|
 | 3 | 
 | 
|---|
| [1200] | 4 |   $Id: strips.h 1200 2008-09-11 12:51:03Z jbs $
 | 
|---|
| [1168] | 5 | 
 | 
|---|
| [1200] | 6 |   <<<description here>>>
 | 
|---|
| [1168] | 7 | 
 | 
|---|
| [1200] | 8 |   Copyright (c) 1993-98 M. Kimes
 | 
|---|
 | 9 |   Copyright (c) 2008 Steven H. Levine
 | 
|---|
| [1168] | 10 | 
 | 
|---|
| [1200] | 11 |   Change log
 | 
|---|
| [1168] | 12 | 
 | 
|---|
 | 13 | ***********************************************************************/
 | 
|---|
 | 14 | 
 | 
|---|
 | 15 | #if !defined(STRIPS_H)
 | 
|---|
 | 16 | #define STRIPS_H
 | 
|---|
 | 17 | 
 | 
|---|
 | 18 | VOID chop_at_crnl(PSZ pszSrc);
 | 
|---|
 | 19 | PSZ convert_nl_to_nul(PSZ pszSrc);
 | 
|---|
 | 20 | VOID remove_first_occurence_of_character(char *pszRemoveChar, char *pszSrc);
 | 
|---|
 | 21 | 
 | 
|---|
| [1178] | 22 | /* strips.c */
 | 
|---|
 | 23 | void strip_lead_char(char *pszStripChars, char *pszSrc);
 | 
|---|
 | 24 | void strip_trail_char(char *pszStripChars, char *pszSrc);
 | 
|---|
 | 25 | #define lstrip(s)         strip_lead_char(" \t",(s))
 | 
|---|
 | 26 | #define rstrip(s)         strip_trail_char(" \t",(s))
 | 
|---|
 | 27 | #define stripcr(s)        strip_trail_char("\r\n",(s))
 | 
|---|
 | 28 | // Strip leading and trailing white
 | 
|---|
 | 29 | #define bstrip(s)         (strip_lead_char(" \t",(s)),strip_trail_char(" \t",(s)))
 | 
|---|
 | 30 | // Strip leading and trailing white and trail cr/nl
 | 
|---|
 | 31 | #define bstripcr(s)       (strip_lead_char(" \t",(s)),strip_trail_char("\r\n \t",(s)))
 | 
|---|
| [1168] | 32 | 
 | 
|---|
| [1178] | 33 | 
 | 
|---|
 | 34 | 
 | 
|---|
| [1168] | 35 | #endif // STRIPS_H
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.