Lines Matching defs:a_msg
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);
482 * Arguments: a_msg - pointer to string representing the message to output
508 getyorn(char *a_msg, char *a_pkg, int a_nocheck, int a_quit,
527 echoDebug(DBG_PREIVFY_GETYORN_ARGS, a_pkg, a_nocheck, a_quit, a_msg,
539 if ((a_msg != (char *)NULL) && (*a_msg != '\0')) {
540 ptext(stderr, "%s", a_msg);
606 ckprereqinc(char *a_msg, char *a_pkg)
608 echoDebug(DBG_PREIVFY_CKPRENCI, a_pkg, a_msg);
611 ptext(stderr, "%s", a_msg);
627 ckprereqinst(char *a_msg, char *a_pkg)
629 echoDebug(DBG_PREIVFY_CKPREREQ, a_pkg, a_msg);
632 ptext(stderr, "%s", 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);
716 ptext(stderr, "%s", 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);
815 ptext(stderr, "%s", a_msg);
828 ckdirs(char *a_msg, char *a_pkg)
830 echoDebug(DBG_PREIVFY_CKDIRS, a_pkg, a_msg);
832 ptext(stderr, "%s", a_msg);
849 ckpkgfilebad(char *a_msg, char *a_pkg)
851 echoDebug(DBG_PREIVFY_CKPKGFILEBAD, a_pkg, a_msg);
853 ptext(stderr, "%s", 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"),
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);
988 ptext(stderr, "%s", 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)
1007 if ((cp = strchr(a_msg, ':')) != NULL)
1014 setgidf(char *a_msg, char *a_pkg)
1018 if ((cp = strchr(a_msg, ':')) != NULL)
1024 overwr(char *a_msg, char *a_pkg)
1026 return (getyorn(a_msg, a_pkg, ADM(instance, "nocheck"),