X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=attribute.c;h=edf3baf51fa376708785eaa014f321eaff827aa4;hp=9fddc1c3ddbdadf6226c65b664e33658dcbb35b5;hb=2830b9f881898aaec073d5ba19e33482e30190bd;hpb=68cb0aef88594f3dea1f7dfdc279f125bf5bbecc diff --git a/attribute.c b/attribute.c index 9fddc1c3..edf3baf5 100644 --- a/attribute.c +++ b/attribute.c @@ -16,6 +16,7 @@ #include "afh.h" #include "afs.h" #include "ipc.h" +#include "sideband.h" #include "command.h" static struct osl_table *attribute_table; @@ -206,7 +207,7 @@ int com_lsatt(struct command_context *cc) } } ret = send_option_arg_callback_request(&options, cc->argc - i, cc->argv + i, - com_lsatt_callback, sc_send_result, cc); + com_lsatt_callback, afs_cb_result_handler, cc); if (!ret) { if (cc->argc > 1) ret = sc_send_va_buffer(&cc->scc, "no matches\n"); @@ -369,7 +370,7 @@ int com_addatt(struct command_context *cc) if (cc->argc < 2) return -E_ATTR_SYNTAX; ret = send_standard_callback_request(cc->argc - 1, cc->argv + 1, - com_addatt_callback, sc_send_result, cc); + com_addatt_callback, afs_cb_result_handler, cc); if (ret < 0) sc_send_va_buffer(&cc->scc, "%s\n", para_strerror(-ret)); return ret; @@ -414,7 +415,7 @@ int com_mvatt(struct command_context *cc) if (cc->argc != 3) return -E_ATTR_SYNTAX; ret = send_standard_callback_request(cc->argc - 1, cc->argv + 1, - com_mvatt_callback, sc_send_result, cc); + com_mvatt_callback, afs_cb_result_handler, cc); if (ret < 0) sc_send_va_buffer(&cc->scc, "%s\n", para_strerror(-ret)); return ret; @@ -488,7 +489,7 @@ int com_rmatt(struct command_context *cc) if (cc->argc < 2) return -E_ATTR_SYNTAX; ret = send_standard_callback_request(cc->argc - 1, cc->argv + 1, - com_rmatt_callback, sc_send_result, cc); + com_rmatt_callback, afs_cb_result_handler, cc); if (ret < 0) sc_send_va_buffer(&cc->scc, "%s\n", para_strerror(-ret)); return ret;