1
0
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:
Ronnie Sahlberg 2010-06-02 09:18:48 +10:00
parent 4136f27145
commit bdbf7077e8
4 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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 *)

View File

@ -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