Lines Matching refs:a_pkg

127 static int ckconflict(char *a_msg, char *a_pkg);
128 static int ckdepend(char *a_msg, char *a_pkg);
129 static int ckcfcontent(char *a_msg, char *a_pkg);
130 static int ckinstance(char *a_msg, char *a_pkg);
131 static int ckdirs(char *a_msg, char *a_pkg);
132 static int ckpartinst(char *a_msg, char *a_pkg);
133 static int ckpartrem(char *a_msg, char *a_pkg);
134 static int ckpkgfilebad(char *a_msg, char *a_pkg);
135 static int ckpkgdirs(char *a_msg, char *a_pkg);
136 static int ckpkgfiles(char *a_msg, char *a_pkg);
137 static int ckprereqinc(char *a_msg, char *a_pkg);
138 static int ckprereqinst(char *a_msg, char *a_pkg);
139 static int ckpriv(char *a_msg, char *a_pkg);
140 static int ckrunlevel(char *a_msg, char *a_pkg);
141 static int cksetuid(char *a_msg, char *a_pkg);
142 static int ckspace(char *a_msg, char *a_pkg);
143 static int attrib(char *a_msg, char *a_pkg);
144 static int setuidf(char *a_msg, char *a_pkg);
145 static int setgidf(char *a_msg, char *a_pkg);
146 static int overwr(char *a_msg, char *a_pkg);
484 * a_pkg - pointer to string representing the package for which
508 getyorn(char *a_msg, char *a_pkg, int a_nocheck, int a_quit,
520 assert(a_pkg != (char *)NULL);
521 assert(*a_pkg != '\0');
527 echoDebug(DBG_PREIVFY_GETYORN_ARGS, a_pkg, a_nocheck, a_quit, a_msg,
533 echoDebug(DBG_PREIVFY_GETYORN_NOCHECK, a_pkg);
550 echoDebug(DBG_PREIVFY_GETYORN_QUIT, a_pkg);
557 ptext(stderr, MSG_PREIVFY_GETYORN_SUSP, a_pkg);
558 echoDebug(DBG_PREIVFY_GETYORN_QUIT_USER, a_pkg);
564 (void) snprintf(ask_cont, sizeof (ask_cont), gettext(ASK_CONT), a_pkg);
576 ptext(stderr, MSG_PREIVFY_GETYORN_TERM, a_pkg);
577 echoDebug(DBG_PREIVFY_GETYORN_CKYORN, a_pkg, n);
584 ptext(stderr, MSG_PREIVFY_GETYORN_TERM_USER, a_pkg);
585 echoDebug(DBG_PREIVFY_GETYORN_NOT_Y, a_pkg, ans);
591 echoDebug(DBG_PREIVFY_GETYORN_SUCCESS, a_pkg);
606 ckprereqinc(char *a_msg, char *a_pkg)
608 echoDebug(DBG_PREIVFY_CKPRENCI, a_pkg, a_msg);
627 ckprereqinst(char *a_msg, char *a_pkg)
629 echoDebug(DBG_PREIVFY_CKPREREQ, a_pkg, a_msg);
652 ckpartinst(char *a_msg, char *a_pkg)
654 echoDebug(DBG_PREIVFY_CKPARTIALINSTALL, a_pkg, a_msg);
656 return (getyorn(a_msg, a_pkg, ADM(partial, "nocheck"),
674 ckpartrem(char *a_msg, char *a_pkg)
676 echoDebug(DBG_PREIVFY_CKPARTIALREMOVE, a_pkg, a_msg);
678 return (getyorn(a_msg, a_pkg, ADM(partial, "nocheck"),
694 ckrunlevel(char *a_msg, char *a_pkg)
696 echoDebug(DBG_PREIVFY_CKRUNLEVEL, a_pkg, a_msg);
712 ckcfcontent(char *a_msg, char *a_pkg)
714 echoDebug(DBG_PREIVFY_CKCFCONTENT, a_pkg, a_msg);
742 ckinstance(char *a_msg, char *a_pkg)
744 echoDebug(DBG_PREIVFY_CKINSTANCE, a_pkg, a_msg);
746 return (getyorn(a_msg, a_pkg, ADM(instance, "nocheck"),
771 ckdepend(char *a_msg, char *a_pkg)
773 echoDebug(DBG_PREIVFY_CKDEPEND, a_pkg, a_msg);
775 return (getyorn(a_msg, a_pkg, ADM(idepend, "nocheck"),
794 ckspace(char *a_msg, char *a_pkg)
796 echoDebug(DBG_PREIVFY_CKSPACE, a_pkg, a_msg);
798 return (getyorn(a_msg, a_pkg, ADM(space, "nocheck"),
811 ckpkgdirs(char *a_msg, char *a_pkg)
813 echoDebug(DBG_PREIVFY_CKPKGDIRS, a_pkg, a_msg);
828 ckdirs(char *a_msg, char *a_pkg)
830 echoDebug(DBG_PREIVFY_CKDIRS, a_pkg, a_msg);
849 ckpkgfilebad(char *a_msg, char *a_pkg)
851 echoDebug(DBG_PREIVFY_CKPKGFILEBAD, a_pkg, a_msg);
875 ckconflict(char *a_msg, char *a_pkg)
877 echoDebug(DBG_PREIVFY_CKCONFLICT, a_pkg, a_msg);
879 return (getyorn(a_msg, a_pkg, ADM(conflict, "nocheck"),
902 cksetuid(char *a_msg, char *a_pkg)
909 echoDebug(DBG_PREIVFY_CKSETUID, a_pkg, a_msg);
911 n = getyorn(a_msg, a_pkg, ADM(setuid, "nocheck"),
920 (void) snprintf(ask_cont, sizeof (ask_cont), gettext(ASK_CONT), a_pkg);
930 ptext(stderr, MSG_PREIVFY_GETYORN_TERM, a_pkg);
931 echoDebug(DBG_PREIVFY_GETYORN_CKYORN, a_pkg, n);
938 ptext(stderr, MSG_PREIVFY_GETYORN_TERM_USER, a_pkg);
939 echoDebug(DBG_PREIVFY_GETYORN_NOT_Y, a_pkg, ans);
945 echoDebug(DBG_PREIVFY_GETYORN_SUCCESS, a_pkg);
964 ckpriv(char *a_msg, char *a_pkg)
966 echoDebug(DBG_PREIVFY_CKPRIV, a_pkg, a_msg);
968 return (getyorn(a_msg, a_pkg, ADM(action, "nocheck"),
984 ckpkgfiles(char *a_msg, char *a_pkg)
986 echoDebug(DBG_PREIVFY_CKPKGFILES, a_pkg, a_msg);
994 attrib(char *a_msg, char *a_pkg)
996 return (getyorn(a_msg, a_pkg, ADM(instance, "nocheck"),
1003 setuidf(char *a_msg, char *a_pkg)
1014 setgidf(char *a_msg, char *a_pkg)
1024 overwr(char *a_msg, char *a_pkg)
1026 return (getyorn(a_msg, a_pkg, ADM(instance, "nocheck"),