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

12345678910

/freebsd-13-stable/contrib/ntp/include/
H A Dntp_lineedit.h6 int ntp_readline_init(const char *prompt);
/freebsd-13-stable/usr.sbin/ppp/
H A Dsystems.h33 struct prompt;
39 struct prompt *, struct datalink *);
40 extern const char *system_IsValid(const char *, struct prompt *, int);
H A Dprompt.h42 struct prompt { struct
50 unsigned nonewline : 1; /* need a newline before our prompt ? */
51 unsigned needprompt : 1; /* Show a prompt at the next UpdateSet() */
52 unsigned active : 1; /* Is the prompt active (^Z) */
60 struct prompt *next; /* Maintained in log.c */
68 ((d)->type == PROMPT_DESCRIPTOR ? (struct prompt *)(d) : NULL)
71 extern struct prompt *prompt_Create(struct server *, struct bundle *, int);
72 extern void prompt_Destroy(struct prompt *, int);
73 extern void prompt_Required(struct prompt *);
75 extern void prompt_Printf(struct prompt *, cons
[all...]
H A Dtimer.h51 struct prompt;
57 extern void timer_Show(int LogLevel, struct prompt *);
H A Dcommand.h36 struct prompt;
46 struct prompt *prompt; /* Who executed us */ member in struct:cmdargs
72 struct prompt *, const char *, struct datalink *);
73 extern int command_Decode(struct bundle *, char *, int, struct prompt *,
H A Dlog.c45 #include "prompt.h"
81 static struct prompt *promptlist; /* Where to log local stuff */
82 struct prompt *log_PromptContext;
85 struct prompt *
92 log_RegisterPrompt(struct prompt *prompt) argument
94 prompt->next = promptlist;
95 promptlist = prompt;
96 prompt->active = 1;
97 log_DiscardAllLocal(&prompt
101 log_ActivatePrompt(struct prompt *prompt) argument
118 log_DeactivatePrompt(struct prompt *prompt) argument
127 log_UnRegisterPrompt(struct prompt *prompt) argument
320 struct prompt *prompt; local
[all...]
H A Dlog.h64 struct prompt;
98 extern struct prompt *log_PromptContext;
100 extern void log_RegisterPrompt(struct prompt *);
101 extern void log_UnRegisterPrompt(struct prompt *);
104 extern void log_ActivatePrompt(struct prompt *);
105 extern void log_DeactivatePrompt(struct prompt *);
107 extern struct prompt *log_PromptList(void);
/freebsd-13-stable/contrib/libarchive/libarchive_fe/
H A Dpassphrase.h29 char *lafe_readpassphrase(const char *prompt, char *buf, size_t bufsiz);
/freebsd-13-stable/contrib/opie/libopie/
H A Drandomchallenge.c40 VOIDRET opierandomchallenge FUNCTION((prompt), char *prompt) argument
48 snprintf(prompt, OPIE_CHALLENGE_MAX+1, "otp-%s %d %s ext", algids[MDX],
/freebsd-13-stable/contrib/bc/include/
H A Dread.h49 #define bc_read_line(vec, prompt) bc_read_line(vec)
50 #define bc_read_chars(vec, prompt) bc_read_chars(vec)
55 BcStatus bc_read_line(BcVec *vec, const char *prompt);
57 BcStatus bc_read_chars(BcVec *vec, const char *prompt);
/freebsd-13-stable/contrib/openpam/lib/libpam/
H A Dpam_get_user.c63 const char *prompt)
77 prompt = promptp;
78 /* no prompt provided, see if there is one tucked away somewhere */
79 if (prompt == NULL) {
82 prompt = promptp;
85 if (prompt == NULL)
86 prompt = user_prompt;
89 r = openpam_subst(pamh, prompt_buf, &prompt_size, prompt);
91 prompt = prompt_buf;
92 r = pam_prompt(pamh, PAM_PROMPT_ECHO_ON, &resp, "%s", prompt);
61 pam_get_user(pam_handle_t *pamh, const char **user, const char *prompt) argument
[all...]
H A Dpam_get_authtok.c68 const char *prompt)
121 prompt = promptp;
122 /* no prompt provided, see if there is one tucked away somewhere */
123 if (prompt == NULL) {
126 prompt = promptp;
129 if (prompt == NULL)
130 prompt = default_prompt;
133 r = openpam_subst(pamh, prompt_buf, &prompt_size, prompt);
135 prompt = prompt_buf;
138 r = pam_prompt(pamh, style, &resp, "%s", prompt);
65 pam_get_authtok(pam_handle_t *pamh, int item, const char **authtok, const char *prompt) argument
[all...]
/freebsd-13-stable/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-13-stable/contrib/telnet/telnet/
H A Dmain.c88 prompt,
130 if ((prompt = strrchr(argv[0], '/')))
131 ++prompt;
133 prompt = argv[0];
137 rlogin = (strncmp(prompt, "rlog", 4) == 0) ? '~' : _POSIX_VDISABLE;
192 prompt, ": Bad TOS argument '",
200 prompt, ": Bad TOS argument '",
234 prompt);
241 prompt);
246 prompt);
[all...]
/freebsd-13-stable/share/examples/ppp/
H A Dlogin-auth48 text .l.prompt -width $pwidth -height 1 -relief flat;
49 .l.prompt insert 1.0 "Login:";
50 pack .l.prompt -side left;
51 .l.prompt configure -state disabled;
59 text .p.prompt -width $pwidth -height 1 -relief flat;
60 .p.prompt insert 1.0 "Password:";
61 pack .p.prompt -side left;
62 .p.prompt configure -state disabled;
/freebsd-13-stable/usr.sbin/bsdinstall/partedit/
H A Ddiskeditor.h46 int diskeditor_show(const char *title, const char *prompt,
/freebsd-13-stable/crypto/openssl/crypto/evp/
H A Devp_key.c20 void EVP_set_pw_prompt(const char *prompt) argument
22 if (prompt == NULL)
25 strncpy(prompt_string, prompt, 79);
43 int EVP_read_pw_string(char *buf, int len, const char *prompt, int verify) argument
45 return EVP_read_pw_string_min(buf, 0, len, prompt, verify);
48 int EVP_read_pw_string_min(char *buf, int min, int len, const char *prompt, argument
55 if ((prompt == NULL) && (prompt_string[0] != '\0'))
56 prompt = prompt_string;
60 if (UI_add_input_string(ui, prompt, 0, buf, min,
63 && UI_add_verify_string(ui, prompt,
[all...]
/freebsd-13-stable/contrib/apr/passwd/
H A Dapr_getpass.c91 * issue the prompt and read the results with echo. (Ugh).
94 static char *get_password(const char *prompt) argument
98 fputs(prompt, stderr);
110 static char *get_password(const char *prompt) argument
123 fputs(prompt, stderr);
157 fputs(prompt, stderr);
177 static char *get_password(const char *prompt) argument
182 fputs(prompt, stderr);
196 fputs(prompt, stderr);
232 APR_DECLARE(apr_status_t) apr_password_get(const char *prompt, cha
[all...]
/freebsd-13-stable/sbin/fsck_msdosfs/
H A Dmain.c135 char prompt[256]; local
148 vsnprintf(prompt, sizeof(prompt), fmt, ap);
151 printf("%s? %s\n", prompt, def ? "yes" : "no");
155 printf("%s? [yn] ", prompt);
/freebsd-13-stable/usr.sbin/bsdinstall/scripts/
H A Dhostname73 local prompt="$msg_please_choose_a_hostname"
79 "$DIALOG_TITLE" "$DIALOG_BACKTITLE" "$prompt" "$value" "$hline"
87 --inputbox "$prompt" \
/freebsd-13-stable/usr.sbin/tzsetup/
H A Dtzsetup.c92 char *prompt; member in struct:dialogMenuItem
144 listitems[i].name = ditems[i].prompt;
240 char prompt[2]; member in struct:continent_items
264 char title[64], prompt[64]; local
281 snprintf(prompt, sizeof(prompt), "Select a country or region");
285 snprintf(prompt, sizeof(prompt), "Select an island or group");
289 rv = xdialog_menu(title, prompt, -1, -1, menulen, contp->nitems,
576 continents[i].prompt
632 char title[64], prompt[64]; local
660 char title[64], prompt[64]; local
708 char title[64], prompt[SILLY_BUFFER_SIZE]; local
907 char title[64], prompt[128]; local
[all...]
/freebsd-13-stable/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-13-stable/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-13-stable/lib/libdpv/
H A Ddialog_util.c219 * Spawn an [X]dialog(1) `--gauge' box with a `--prompt' value of init_prompt.
290 * `--gauge' widget prompt-updates. Add it anyway (in-case it
339 * Returns the number of lines in buffer pointed to by `prompt'. Takes both
343 dialog_prompt_numlines(const char *prompt, uint8_t nlstate) argument
346 const char *cp = prompt;
349 if (prompt == NULL || *prompt == '\0')
378 * `prompt'. Takes newlines and escaped newlines into account. Also discounts
382 dialog_prompt_longestline(const char *prompt, uint8_t nlstate) argument
386 const char *p = prompt;
452 dialog_prompt_lastline(char *prompt, uint8_t nlstate) argument
495 dialog_prompt_wrappedlines(char *prompt, int ncols, uint8_t nlstate) argument
601 dialog_prompt_nlstate(const char *prompt) argument
[all...]

Completed in 240 milliseconds

12345678910