summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f9e4ad4)
raw | patch | inline | side by side (parent: f9e4ad4)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 29 Mar 2010 16:23:33 +0000 (16:23 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 29 Mar 2010 16:23:33 +0000 (16:23 +0000) |
program/src/librrd.sym.in.in | patch | blob | history | |
program/src/rrd_daemon.c | patch | blob | history |
index a4b9a08893d884914db27ab8689aa180e338bbac..3d63281859f59bf742118e5a1a40f070067a9aa1 100644 (file)
rrd_add_ptr
rrd_add_strdup
+rrd_add_ptr_chunk
+rrd_add_strdup_chunk
rrd_clear_error
rrd_close
rrd_create
index 9b8d9ee30cb59ae59d8d27de6b96f4b0a72cde95..ef6d83cb31fc86d7dcc28cad062d4cdba6249981 100644 (file)
--- a/program/src/rrd_daemon.c
+++ b/program/src/rrd_daemon.c
gid_t socket_group = (gid_t)-1;
mode_t socket_permissions = (mode_t)-1;
- while ((option = getopt(argc, argv, "gl:s:m:P:f:w:z:t:Bb:p:Fj:m:h?")) != -1)
+ while ((option = getopt(argc, argv, "gl:s:m:P:f:w:z:t:Bb:p:Fj:a:h?")) != -1)
{
switch (option)
{
}
break;
- case 'm':
+ case 'a':
{
int temp = atoi(optarg);
if (temp > 0)
else
{
fprintf(stderr, "Invalid allocation size: %s\n", optarg);
- status = 10;
+ return 10;
}
}
break;
"for that group)\n"
" -m <mode> File permissions (octal) of all following UNIX "
"sockets\n"
+ " -a <size> Memory allocation chunk size. Default is 1."
"\n"
"For more information and a detailed description of all options "
"please refer\n"