use ctdb_call_info, so struct ctdb_call can be used for top level call
[vlendec/samba-autobuild/.git] / ctdb / ctdb_test.c
index 5bc35ad332228ebbcbe727f1c5c5454992328073..7f3430ad1aa33cdb79031bc4590b7a98698cc713 100644 (file)
@@ -33,7 +33,7 @@ static int int_compare(int *i1, int *i2)
 /*
   add an integer into a record in sorted order
 */
 /*
   add an integer into a record in sorted order
 */
-static int sort_func(struct ctdb_call *call)
+static int sort_func(struct ctdb_call_info *call)
 {
        if (call->call_data == NULL ||
            call->call_data->dsize != sizeof(int)) {
 {
        if (call->call_data == NULL ||
            call->call_data->dsize != sizeof(int)) {
@@ -64,7 +64,7 @@ static int sort_func(struct ctdb_call *call)
 /*
   ctdb call function to fetch a record
 */
 /*
   ctdb call function to fetch a record
 */
-static int fetch_func(struct ctdb_call *call)
+static int fetch_func(struct ctdb_call_info *call)
 {
        call->reply_data = &call->record_data;
        return 0;
 {
        call->reply_data = &call->record_data;
        return 0;