mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
rename ccan/typesafe_cb.h to ctdb_typesafe_cb.h and
add this file to the install/rpm (This used to be ctdb commit 96f186240a17386de1e02eb3af392d97bb55a1ae)
This commit is contained in:
parent
4136f27145
commit
bdbf7077e8
@ -224,6 +224,7 @@ install: all
|
||||
${INSTALLCMD} -m 644 include/ctdb_client.h $(DESTDIR)$(includedir)
|
||||
${INSTALLCMD} -m 644 include/ctdb_protocol.h $(DESTDIR)$(includedir)
|
||||
${INSTALLCMD} -m 644 include/ctdb_private.h $(DESTDIR)$(includedir) # for samba3
|
||||
${INSTALLCMD} -m 644 include/ctdb_typesafe_cb.h $(DESTDIR)$(includedir)
|
||||
${INSTALLCMD} -m 644 config/functions $(DESTDIR)$(etcdir)/ctdb
|
||||
${INSTALLCMD} -m 755 config/statd-callout $(DESTDIR)$(etcdir)/ctdb
|
||||
${INSTALLCMD} -m 755 config/interface_modify.sh $(DESTDIR)$(etcdir)/ctdb
|
||||
|
@ -211,7 +211,7 @@ int ctdb_cancel(struct ctdb_request *);
|
||||
|
||||
|
||||
/* These ugly macro wrappers make the callbacks typesafe. */
|
||||
#include <ccan/typesafe_cb.h>
|
||||
#include <ctdb_typesafe_cb.h>
|
||||
#define ctdb_sendcb(cb, cbdata) \
|
||||
typesafe_cb_preargs(void, (cb), (cbdata), \
|
||||
struct ctdb_connection *, struct ctdb_request *)
|
||||
|
@ -138,6 +138,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_includedir}/ctdb_client.h
|
||||
%{_includedir}/ctdb_protocol.h
|
||||
%{_includedir}/ctdb_private.h
|
||||
%{_includedir}/ctdb_typesafe_cb.h
|
||||
%{_libdir}/libctdb.a
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user