Add a blank file for the SMB backend.
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Fri, 4 Dec 2009 04:06:26 +0000 (15:06 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Fri, 4 Dec 2009 04:06:26 +0000 (15:06 +1100)
smb.c [new file with mode: 0644]

diff --git a/smb.c b/smb.c
new file mode 100644 (file)
index 0000000..ee30425
--- /dev/null
+++ b/smb.c
@@ -0,0 +1,28 @@
+/* 
+   Copyright (C) by Ronnie Sahlberg <ronniesahlberg@gmail.com> 2009
+   
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 3 of the License, or
+   (at your option) any later version.
+   
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+   
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, see <http://www.gnu.org/licenses/>.
+*/
+
+#define _GNU_SOURCE
+#include <stdio.h>
+#undef _GNU_SOURCE
+
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <stdint.h>
+#include "dbench.h"
+
+#define discard_const(ptr) ((void *)((intptr_t)(ptr)))
+