From 6783aa5eb4d8319f66dfc602f7c9d36b64a41ad9 Mon Sep 17 00:00:00 2001 From: niki Date: Thu, 8 Dec 2005 22:07:05 +0000 Subject: [PATCH] missing in the repository since some time ... --- src/quota_common.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/quota_common.h diff --git a/src/quota_common.h b/src/quota_common.h new file mode 100644 index 00000000..c05b2dc5 --- /dev/null +++ b/src/quota_common.h @@ -0,0 +1,30 @@ +/** + * collectd - src/quota_common.h + * Copyright (C) 2005 Niki W. Waibel + * + * This program is free software; you can redistribute it and/ + * or modify it under the terms of the GNU General Public Li- + * cence as published by the Free Software Foundation; either + * version 2 of the Licence, or any later version. + * + * This program is distributed in the hope that it will be use- + * ful, but WITHOUT ANY WARRANTY; without even the implied war- + * ranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public Licence for more details. + * + * You should have received a copy of the GNU General Public + * Licence along with this program; if not, write to the Free + * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, + * USA. + * + * Author: + * Niki W. Waibel +**/ + +#include "common.h" + +void sstrncpy(char *d, const char *s, int len); +char *sstrdup(const char *s); +void *smalloc(size_t size); +void sfree(void *ptr); + -- 2.30.2