#define USE_OPENX_CALL
+static int async_read(struct async_context *c);
+
void list_enqueue(struct list *l, const void *data, int size)
{
struct list_item *li =
c->cb_close(c->cb_ctx);
}
-int async_read(struct async_context *c)
+static int async_read(struct async_context *c)
{
if (!c->io_read) {
c->io_read = talloc(c->tree, union smb_read);
};
int async_open(struct async_context *c, const char *fn, int open_mode);
-int async_read(struct async_context *c);
int async_write(struct async_context *c, const void *buf, int len);
int async_close(struct async_context *c);
ctx.find_program([ a + '-' + p + '-gcc' for a in ['i386', 'i586'] for p in platform], var='CC_WIN32')
ctx.find_program([ a + '-' + p + '-gcc' for a in ['x86_64', 'amd64'] for p in platform], var='CC_WIN64')
ctx.load('compiler_c')
- os.system('cd ' + samba + ' && ./buildtools/bin/waf configure')
os.system('cd ' + samba + ' && grep -q "bld.RECURSE(\'../source\')" wscript_build || sed -i "s#bld.RECURSE(\'source3\')#bld.RECURSE(\'source3\')\\nbld.RECURSE(\'../source\')#" wscript_build')
+ os.system('cd ' + samba + ' && ./buildtools/bin/waf configure')
def build(bld):
if bld.env._SAMBA_BUILD_ == 4: