Searched refs:prompt (Results 1 - 25 of 249) sorted by relevance

12345678910

/freebsd-current/contrib/ntp/include/
H A Dntp_lineedit.h6 int ntp_readline_init(const char *prompt);
/freebsd-current/usr.sbin/ppp/
H A Dsystems.h31 struct prompt;
37 struct prompt *, struct datalink *);
38 extern const char *system_IsValid(const char *, struct prompt *, int);
H A Dprompt.h40 struct prompt { struct
48 unsigned nonewline : 1; /* need a newline before our prompt ? */
49 unsigned needprompt : 1; /* Show a prompt at the next UpdateSet() */
50 unsigned active : 1; /* Is the prompt active (^Z) */
58 struct prompt *next; /* Maintained in log.c */
66 ((d)->type == PROMPT_DESCRIPTOR ? (struct prompt *)(d) : NULL)
69 extern struct prompt *prompt_Create(struct server *, struct bundle *, int);
70 extern void prompt_Destroy(struct prompt *, int);
71 extern void prompt_Required(struct prompt *);
73 extern void prompt_Printf(struct prompt *, cons
[all...]
H A Dtimer.h49 struct prompt;
55 extern void timer_Show(int LogLevel, struct prompt *);
H A Dcommand.h34 struct prompt;
44 struct prompt *prompt; /* Who executed us */ member in struct:cmdargs
70 struct prompt *, const char *, struct datalink *);
71 extern int command_Decode(struct bundle *, char *, int, struct prompt *,
H A Dlog.c43 #include "prompt.h"
79 static struct prompt *promptlist; /* Where to log local stuff */
80 struct prompt *log_PromptContext;
83 struct prompt *
90 log_RegisterPrompt(struct prompt *prompt) argument
92 prompt->next = promptlist;
93 promptlist = prompt;
94 prompt->active = 1;
95 log_DiscardAllLocal(&prompt
99 log_ActivatePrompt(struct prompt *prompt) argument
116 log_DeactivatePrompt(struct prompt *prompt) argument
125 log_UnRegisterPrompt(struct prompt *prompt) argument
318 struct prompt *prompt; local
[all...]
H A Dlog.h62 struct prompt;
96 extern struct prompt *log_PromptContext;
98 extern void log_RegisterPrompt(struct prompt *);
99 extern void log_UnRegisterPrompt(struct prompt *);
102 extern void log_ActivatePrompt(struct prompt *);
103 extern void log_DeactivatePrompt(struct prompt *);
105 extern struct prompt *log_PromptList(void);
/freebsd-current/contrib/libarchive/libarchive_fe/
H A Dpassphrase.h29 char *lafe_readpassphrase(const char *prompt, char *buf, size_t bufsiz);
/freebsd-current/contrib/libfido2/tools/
H A Dpin.c24 char prompt[1024]; local
32 r = snprintf(prompt, sizeof(prompt), "Enter new PIN for %s: ", path);
33 if (r < 0 || (size_t)r >= sizeof(prompt)) {
38 if (!readpassphrase(prompt, pin1, sizeof(pin1), RPP_ECHO_OFF)) {
43 r = snprintf(prompt, sizeof(prompt), "Enter the same PIN again: ");
44 if (r < 0 || (size_t)r >= sizeof(prompt)) {
49 if (!readpassphrase(prompt, pin2, sizeof(pin2), RPP_ECHO_OFF)) {
84 char prompt[102 local
[all...]
/freebsd-current/contrib/libcbor/
H A Drelease.sh8 function prompt() { function
26 prompt "Is the changelog correct and complete?"
30 prompt "Is the Doxyfile version correct?"
34 prompt "Is the CMake version correct?"
38 prompt "Is the version correct?"
42 prompt "Are the versions correct?"
67 prompt "Will proceed to tag the release with $TAG_NAME."
77 prompt "Have you added the release to https://github.com/PJK/libcbor/releases/tag/$TAG_NAME?"
81 prompt "Have you updated the formula?"
/freebsd-current/contrib/openpam/lib/libpam/
H A Dpam_get_user.c61 const char *prompt)
75 prompt = promptp;
76 /* no prompt provided, see if there is one tucked away somewhere */
77 if (prompt == NULL) {
80 prompt = promptp;
83 if (prompt == NULL)
84 prompt = user_prompt;
87 r = openpam_subst(pamh, prompt_buf, &prompt_size, prompt);
89 prompt = prompt_buf;
90 r = pam_prompt(pamh, PAM_PROMPT_ECHO_ON, &resp, "%s", prompt);
59 pam_get_user(pam_handle_t *pamh, const char **user, const char *prompt) argument
[all...]
H A Dpam_get_authtok.c66 const char *prompt)
119 prompt = promptp;
120 /* no prompt provided, see if there is one tucked away somewhere */
121 if (prompt == NULL) {
124 prompt = promptp;
127 if (prompt == NULL)
128 prompt = default_prompt;
131 r = openpam_subst(pamh, prompt_buf, &prompt_size, prompt);
133 prompt = prompt_buf;
136 r = pam_prompt(pamh, style, &resp, "%s", prompt);
63 pam_get_authtok(pam_handle_t *pamh, int item, const char **authtok, const char *prompt) argument
[all...]
/freebsd-current/contrib/bc/include/
H A Dread.h52 * Reads a line from stdin after printing prompt, if desired.
54 * @param prompt The prompt to print, if desired.
57 bc_read_line(BcVec* vec, const char* prompt);
72 * @param prompt The prompt to print, if desired.
75 bc_read_chars(BcVec* vec, const char* prompt);
/freebsd-current/crypto/heimdal/appl/telnet/telnet/
H A Dmain.c65 fprintf(stderr, "Usage: %s %s%s%s%s\n", prompt,
172 if ((prompt = strrchr(argv[0], '/')))
173 ++prompt;
175 prompt = argv[0];
179 rlogin = (strncmp(prompt, "rlog", 4) == 0) ? '~' : _POSIX_VDISABLE;
233 prompt, ": Bad TOS argument '",
239 prompt);
267 prompt);
274 prompt, ch);
280 prompt);
[all...]
H A Dauthenc.c83 telnet_gets(char *prompt, char *result, int length, int echo) argument
90 printf("%s", prompt);
92 } else if ((res = getpass(prompt))) {
/freebsd-current/contrib/telnet/telnet/
H A Dmain.c87 prompt,
129 if ((prompt = strrchr(argv[0], '/')))
130 ++prompt;
132 prompt = argv[0];
136 rlogin = (strncmp(prompt, "rlog", 4) == 0) ? '~' : _POSIX_VDISABLE;
194 prompt, ": Bad TOS argument '",
202 prompt, ": Bad TOS argument '",
236 prompt);
243 prompt);
248 prompt);
[all...]
/freebsd-current/share/examples/ppp/
H A Dlogin-auth47 text .l.prompt -width $pwidth -height 1 -relief flat;
48 .l.prompt insert 1.0 "Login:";
49 pack .l.prompt -side left;
50 .l.prompt configure -state disabled;
58 text .p.prompt -width $pwidth -height 1 -relief flat;
59 .p.prompt insert 1.0 "Password:";
60 pack .p.prompt -side left;
61 .p.prompt configure -state disabled;
H A Dchap-auth46 proc mkhalfframe { n prompt } {
50 text .$n.prompt -width $pwidth -height 1 -relief flat;
51 .$n.prompt insert 1.0 $prompt;
52 pack .$n.prompt -side left;
53 .$n.prompt configure -state disabled;
56 proc mkframe { n prompt value entry } {
59 mkhalfframe $n $prompt;
/freebsd-current/crypto/openssl/crypto/evp/
H A Devp_key.c24 void EVP_set_pw_prompt(const char *prompt) argument
26 if (prompt == NULL)
29 strncpy(prompt_string, prompt, 79);
47 int EVP_read_pw_string(char *buf, int len, const char *prompt, int verify) argument
49 return EVP_read_pw_string_min(buf, 0, len, prompt, verify);
52 int EVP_read_pw_string_min(char *buf, int min, int len, const char *prompt, argument
59 if ((prompt == NULL) && (prompt_string[0] != '\0'))
60 prompt = prompt_string;
64 if (UI_add_input_string(ui, prompt, 0, buf, min,
67 && UI_add_verify_string(ui, prompt,
[all...]
/freebsd-current/sbin/fsck_msdosfs/
H A Dmain.c133 char prompt[256]; local
146 vsnprintf(prompt, sizeof(prompt), fmt, ap);
149 printf("%s? %s\n", prompt, def ? "yes" : "no");
153 printf("%s? [yn] ", prompt);
/freebsd-current/usr.sbin/bsdinstall/scripts/
H A Dhostname72 local prompt="$msg_please_choose_a_hostname"
78 "$DIALOG_TITLE" "$DIALOG_BACKTITLE" "$prompt" "$value" "$hline"
86 --inputbox "$prompt" \
/freebsd-current/crypto/heimdal/lib/sl/
H A Dsl.h57 int sl_loop (SL_cmd *, const char *prompt);
58 int sl_command_loop (SL_cmd *cmds, const char *prompt, void **data);
/freebsd-current/crypto/heimdal/lib/hx509/
H A Dlock.c45 hx509_prompter_fct prompt; member in struct:hx509_lock_data
169 hx509_lock_set_prompter(hx509_lock lock, hx509_prompter_fct prompt, void *data) argument
171 lock->prompt = prompt;
179 lock->prompt = NULL;
189 prompter->prompt,
195 fputs (prompter->prompt, stdout);
207 hx509_lock_prompt(hx509_lock lock, hx509_prompt *prompt) argument
209 if (lock->prompt == NULL)
211 return (*lock->prompt)(loc
[all...]
/freebsd-current/lib/libdpv/
H A Ddialog_util.c217 * Spawn an [X]dialog(1) `--gauge' box with a `--prompt' value of init_prompt.
288 * `--gauge' widget prompt-updates. Add it anyway (in-case it
337 * Returns the number of lines in buffer pointed to by `prompt'. Takes both
341 dialog_prompt_numlines(const char *prompt, uint8_t nlstate) argument
344 const char *cp = prompt;
347 if (prompt == NULL || *prompt == '\0')
376 * `prompt'. Takes newlines and escaped newlines into account. Also discounts
380 dialog_prompt_longestline(const char *prompt, uint8_t nlstate) argument
384 const char *p = prompt;
450 dialog_prompt_lastline(char *prompt, uint8_t nlstate) argument
493 dialog_prompt_wrappedlines(char *prompt, int ncols, uint8_t nlstate) argument
599 dialog_prompt_nlstate(const char *prompt) argument
[all...]
/freebsd-current/contrib/telnet/libtelnet/
H A Dread_password.c47 * output as a prompt, and reads a password string without
69 local_des_read_pw_string(s,max,prompt,verify)
72 char *prompt;
102 (void) printf("%s", prompt);
109 printf("\nVerifying, please re-enter %s",prompt);

Completed in 131 milliseconds

12345678910