Mercurial > noffle
view src/dynamicstring.h @ 390:2ad4c1c97734 noffle
[svn] * src/client.c: Return correct status from Client_postArt() and add
function comment detailing what return code should be, because it's
not obvious that the return code should report success when the
posting failed for reasons other than connection problems. This should fix
problem with failing posting stopping fetches. Thanks to Dan Jacobson
for spotting this.
* src/client.c: Fix problemette with filter discards not updating remote
group article count and so the overview being refetched until
and article appears that doesn't fall foul of the filter and thus does
update the remove group 'next article' marker. Thanks to Dan Jacobson
for spotting this.
* src/content.c: Don't be fooled into thinking a filename starting ".."
is just "..".
* src/outgoing.c: Don't assume "." and ".." are the first files returned
from readdir(). Thanks to Andreas Happe for spotting this.
* src/noffle.c: Update online help to include 'm' group posting status.
* src/server.c: Move incorrect updating of server.grp in doGrp() which was
causing doGrp() to not retrieve remote article details when in online
mode. Thanks to Miernik and Andreas Happe for reporting the problem.
author | bears |
---|---|
date | Thu, 22 May 2003 10:04:38 +0100 |
parents | e612b263934f |
children |
line wrap: on
line source
/* dynamicstring.h String utilities $Id: dynamicstring.h 65 2000-05-12 16:52:41Z enz $ */ #ifndef DYNAMICSTRING_H #define DYNAMICSTRING_H #if HAVE_CONFIG_H #include <config.h> #endif #include <sys/types.h> /* A dynamically growing string */ struct DynStr; typedef struct DynStr DynStr; /* Create new DynStr with given capacity */ DynStr * new_DynStr( int reserve ); /* Delete DynStr */ void del_DynStr( DynStr *self ); /* Return DynStr's length */ int DynStr_len( const DynStr *self ); /* Return DynStr's content ptr */ const char * DynStr_str( const DynStr *self ); /* append C-string to DynStr */ void DynStr_app( DynStr *self, const char *s ); /* append a DynStr to DynStr */ void DynStr_appDynStr( DynStr *self, const DynStr *s ); /* Append C-string + newline to DynStr */ void DynStr_appLn( DynStr *self, const char *s ); /* Append a maximum of n characters from C-string s to DynStr self */ void DynStr_appN( DynStr *self, const char *s, int n ); /* Truncate content of DynString to zero length */ void DynStr_clear( DynStr *self ); #endif