/[monit]/monit/socket.c
ViewVC logotype

Diff of /monit/socket.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.47 by hauk, Tue Oct 18 23:06:04 2005 UTC revision 1.48 by hauk, Wed Oct 19 00:50:24 2005 UTC
# Line 558  char *socket_readln(Socket_T S, char *s, Line 558  char *socket_readln(Socket_T S, char *s,
558  }  }
559    
560    
561    /**
562     * Clears any data that exists in the input buffer
563     * @param S A Socket_T object
564     */
565    void socket_reset(Socket_T S) {
566    
567      ASSERT(S);
568      
569      S->offset= 0;
570      S->length= 0;
571      
572    }
573    
574    
575  /* ----------------------------------------------------------------- Private */  /* ----------------------------------------------------------------- Private */
576    
577    

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.48

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26