Mercurial > emacs
view lwlib/lwlib-utils.h @ 44987:cc0ab9acdc46
(SCORE_FILE_PREFIX): Delete.
(main): New argument -d, for specifying directory.
(usage): Document.
(get_user_id): Compute
(get_home_dir): Deleted.
(get_prefix): New function, taken from main.
(main): Check whether or not we are running setuid. Move prefix
computation to get_prefix. Don't call getpwent; we don't need to
any more. Instead, move it to get_user_id().
author | Colin Walters <walters@gnu.org> |
---|---|
date | Mon, 29 Apr 2002 22:49:00 +0000 |
parents | 6ed38ee607e9 |
children | 695cf19ef79e |
line wrap: on
line source
#ifndef _LWLIB_UTILS_H_ #define _LWLIB_UTILS_H_ void XtNoClearRefreshWidget __P ((Widget)); typedef void (*XtApplyToWidgetsProc) __P ((Widget, XtPointer)); typedef void* (*XtApplyUntilToWidgetsProc) __P ((Widget, XtPointer)); void XtApplyToWidgets __P ((Widget, XtApplyToWidgetsProc, XtPointer)); void *XtApplyUntilToWidgets __P ((Widget, XtApplyUntilToWidgetsProc, XtPointer)); Widget *XtCompositeChildren __P ((Widget, unsigned int *)); /* returns True is the widget is being destroyed, False otherwise */ Boolean XtWidgetBeingDestroyedP __P ((Widget widget)); void XtSafelyDestroyWidget __P ((Widget)); #endif /* _LWLIB_UTILS_H_ */