ICFS/sources/ui-socket.h

20 lines
326 B
C
Raw Normal View History

/*
* Interface for controlling communication with the UI.
*/
#ifndef UI_SOCKET_H
#define UI_SOCKET_H
struct process_info {
// TODO: define some fields
};
int init_ui_socket();
// TODO: design an interface for asking user for permission.
int ask_access(const char *filename, process_info pi);
#endif // !UI_SOCKET_H