Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 18 lines (14 sloc) 0.646 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#ifndef SIGAR_GETLINE_H
#define SIGAR_GETLINE_H

#include "sigar.h"

typedef int (*sigar_getline_completer_t)(char *, int, int *);

SIGAR_DECLARE(char *) sigar_getline(char *prompt);
SIGAR_DECLARE(void) sigar_getline_setwidth(int width);
SIGAR_DECLARE(void) sigar_getline_redraw(void);
SIGAR_DECLARE(void) sigar_getline_reset(void);
SIGAR_DECLARE(void) sigar_getline_windowchanged();
SIGAR_DECLARE(void) sigar_getline_histinit(char *file);
SIGAR_DECLARE(void) sigar_getline_histadd(char *buf);
SIGAR_DECLARE(int) sigar_getline_eof();
SIGAR_DECLARE(void) sigar_getline_completer_set(sigar_getline_completer_t func);

#endif /* SIGAR_GETLINE_H */
Something went wrong with that request. Please try again.