Cross Reference: prompt.c
xref
: /
osnet-11
/
usr
/
src
/
lib
/
krb5
/
ss
/
prompt.c
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
prompt.c revision 2
2
N/A
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2
N/A
/*
2
N/A
*
prompt.c
: Routines for retrieving and setting a prompt.
2
N/A
*
2
N/A
*
util
/
ss
/
prompt.c
2
N/A
*
2
N/A
* Copyright 1987, 1988 by MIT Student Information Processing Board
2
N/A
*
2
N/A
* For copyright information, see
copyright.h
.
2
N/A
*/
2
N/A
2
N/A
#
include
"
copyright.h
"
2
N/A
#
include
<
stdio.h
>
2
N/A
#
include
"
ss_internal.h
"
2
N/A
2
N/A
void
2
N/A
ss_set_prompt
(
sci_idx
,
new_prompt
)
2
N/A
int
sci_idx
;
2
N/A
char
*
new_prompt
;
2
N/A
{
2
N/A
ss_info
(
sci_idx
)->
prompt
=
new_prompt
;
2
N/A
}
2
N/A
2
N/A
char
*
2
N/A
ss_get_prompt
(
sci_idx
)
2
N/A
int
sci_idx
;
2
N/A
{
2
N/A
return
(
ss_info
(
sci_idx
)->
prompt
);
2
N/A
}