mevent.h (4c87aefe) mevent.h (154972af)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 2011 NetApp, Inc.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 29 unchanged lines hidden (view full) ---

38 EVF_SIGNAL
39};
40
41struct mevent;
42
43struct mevent *mevent_add(int fd, enum ev_type type,
44 void (*func)(int, enum ev_type, void *),
45 void *param);
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 2011 NetApp, Inc.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 29 unchanged lines hidden (view full) ---

38 EVF_SIGNAL
39};
40
41struct mevent;
42
43struct mevent *mevent_add(int fd, enum ev_type type,
44 void (*func)(int, enum ev_type, void *),
45 void *param);
46struct mevent *mevent_add_disabled(int fd, enum ev_type type,
47 void (*func)(int, enum ev_type, void *),
48 void *param);
46int mevent_enable(struct mevent *evp);
47int mevent_disable(struct mevent *evp);
48int mevent_delete(struct mevent *evp);
49int mevent_delete_close(struct mevent *evp);
50
51void mevent_dispatch(void);
52
53#endif /* _MEVENT_H_ */
49int mevent_enable(struct mevent *evp);
50int mevent_disable(struct mevent *evp);
51int mevent_delete(struct mevent *evp);
52int mevent_delete_close(struct mevent *evp);
53
54void mevent_dispatch(void);
55
56#endif /* _MEVENT_H_ */