xymon

Check-in [1c74e7f0bb]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Backport trunk r6935 STRBUFSZ macro git-svn-id: http://svn.code.sf.net/p/xymon/code/branches/4.3.19@7593 44351d6e-118b-4698-b696-ce33095ecaa4
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | origin/4.3.19
Files: files | file ages | folders
SHA3-256: 1c74e7f0bb6f5236cb24a1cb9c2f19ab94cfc715e7e9028faa22226145a74ccf
User & Date: jccleaver@users.sf.net 2015-03-03 20:48:43
Context
2015-03-03
20:55
Only bare schedule commands get a response git-svn-id: http://svn.code.sf.net/p/xymon/code/branches/4.3.19@7594 44351d6e-118b-4698-b696-ce33095ecaa4 check-in: 8345d5b78a user: jccleaver@users.sf.net tags: trunk, origin/4.3.19
20:48
Backport trunk r6935 STRBUFSZ macro git-svn-id: http://svn.code.sf.net/p/xymon/code/branches/4.3.19@7593 44351d6e-118b-4698-b696-ce33095ecaa4 check-in: 1c74e7f0bb user: jccleaver@users.sf.net tags: trunk, origin/4.3.19
2015-02-26
21:28
Pedantic calloc arg fix git-svn-id: http://svn.code.sf.net/p/xymon/code/branches/4.3.19@7591 44351d6e-118b-4698-b696-ce33095ecaa4 check-in: 7e7ecaed99 user: jccleaver@users.sf.net tags: trunk, origin/4.3.19
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to include/libxymon.h.

25
26
27
28
29
30
31

32
33
34
35
36
37
38
	int used, sz;
} strbuffer_t;

#define STRBUF(buf) (buf->s)
#define STRBUFLEN(buf) (buf->used)
#define STRBUFAVAIL(buf) (buf->sz - buf->used)
#define STRBUFEND(buf) (buf->s + buf->used)


#define IP_ADDR_STRLEN 16

#include "version.h"
#include "config.h"
#include "../lib/osdefs.h"








>







25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
	int used, sz;
} strbuffer_t;

#define STRBUF(buf) (buf->s)
#define STRBUFLEN(buf) (buf->used)
#define STRBUFAVAIL(buf) (buf->sz - buf->used)
#define STRBUFEND(buf) (buf->s + buf->used)
#define STRBUFSZ(buf) (buf->sz)

#define IP_ADDR_STRLEN 16

#include "version.h"
#include "config.h"
#include "../lib/osdefs.h"