Lines Matching refs:gl
76 static GetLine *gl = NULL; /* for interactive mode */ variable
618 if (gl == NULL) { in init_interactive()
619 if ((gl = new_GetLine(MAX_LINE_LEN, in init_interactive()
624 if (gl_customize_completion(gl, NULL, in init_interactive()
626 (void) del_GetLine(gl); in init_interactive()
648 if (gl != NULL) in fini_interactive()
649 (void) del_GetLine(gl); in fini_interactive()
670 line = gl_get_line(gl, prompt, NULL, -1); in do_getstr()
671 if (gl_return_status(gl) == GLR_SIGNAL) { in do_getstr()
672 gl_abandon_line(gl); in do_getstr()
674 } else if (gl_return_status(gl) == GLR_ERROR) { in do_getstr()
675 gl_abandon_line(gl); in do_getstr()
677 gl_error_message(gl, NULL, 0)); in do_getstr()