Displaying 1 result from an estimated 1 matches for "mytest_vfs".
2007 Feb 28
2
VFS module and C++
...e code looks like this:
extern "C" {
#include "includes.h"
};
# skeleton methods, tuples are there...
extern "C" {
NTSTATUS init_module(void)
{
DEBUG(2,("Inicialization does work"));
return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "mytest_vfs",
skel_op_tuples);
}
};
And my Makefile:
CC = gcc
CFLAGS = -g -O2
CPPFLAGS =
LDFLAGS =
LDSHFLAGS = -shared
INSTALLCMD = /usr/bin/install -c
SAMBA_SOURCE = ../../source
SHLIBEXT = so
OBJEXT = o
FLAGS = $(CFLAGS) -Iin...