static void psprocdef(definition * defp) { int split_flag = defp->pc.split_flag; int multi_flag = defp->pc.multi_flag; if (split_flag || multi_flag) { psproc1(defp, 1, "int", "Start", (1 << DEF_INPARAM) | (1 << DEF_INOUTPARAM)); psproc1(defp, 1, "int", "End", (1 << DEF_OUTPARAM) | (1 << DEF_INOUTPARAM)); } if (!(!multi_flag && split_flag)) psproc1(defp, 0, "int", "", 0xFFFFFFFF); if (uflag && !kflag) psproc1(defp, 2, "int", "ubik_", 0xFFFFFFFF); if (*ServerPrefix) psproc1(defp, 1, "afs_int32", ServerPrefix, 0xFFFFFFFF); }
static void psprocdef(definition * defp) { int split_flag = defp->pc.split_flag; int multi_flag = defp->pc.multi_flag; if (split_flag || multi_flag) { psproc1(defp, 1, "int", "Start", (1 << DEF_INPARAM) | (1 << DEF_INOUTPARAM)); psproc1(defp, 1, "int", "End", (1 << DEF_OUTPARAM) | (1 << DEF_INOUTPARAM)); } if (!(!multi_flag && split_flag)) psproc1(defp, 0, "int", "", 0xFFFFFFFF); if (uflag && !kflag) { f_print(fout, "\n#ifndef KERNEL"); psproc1(defp, 2, "int", "ubik_", 0xFFFFFFFF); f_print(fout, "#endif /* KERNEL */\n"); } if (*ServerPrefix) psproc1(defp, 3, "afs_int32", ServerPrefix, 0xFFFFFFFF); }