mirror of
https://github.com/troglobit/libuev.git
synced 2026-10-15 10:19:31 +00:00
Minor change libuev --> libuEv and bump version for release.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
8e1f384c38
commit
5065440f52
9 files changed
+19
-19
No files matched your search
@@ -1,4 +1,4 @@
|
||||
Current maintainer of libuev:
|
||||
Current maintainer of libuEv:
|
||||
Joachim Nilsson <troglobit()gmail!com>
|
||||
|
||||
Original LibUEvent author:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# -*-Makefile-*- for libuev
|
||||
# -*-Makefile-*- for libuEv
|
||||
#
|
||||
# Copyright (c) 2012 Flemming Madsen <flemming!madsen()madsensoft!dk>
|
||||
# Copyright (c) 2013 Joachim Nilsson <troglobit()gmail!com>
|
||||
@@ -25,7 +25,7 @@
|
||||
.PHONY: all test clean
|
||||
|
||||
#VERSION = $(shell git tag -l | tail -1)
|
||||
VERSION ?= 1.0.0
|
||||
VERSION ?= 1.0.1
|
||||
NAME = libuev
|
||||
PKG = $(NAME)-$(VERSION)
|
||||
ARCHIVE = $(PKG).tar.xz
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
*
|
||||
* Sun 04/08/2013 - Modified by Joachim Nilsson <troglobit@gmail.com>
|
||||
*
|
||||
* Adaptations for libuev, no libev/libevent API wrappers available.
|
||||
* Adaptations for libuEv, no libev/libevent API wrappers available.
|
||||
* Reindent to Linux coding style
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* libuev - Micro event loop library
|
||||
/* libuEv - Micro event loop library
|
||||
*
|
||||
* Copyright (c) 2012 Flemming Madsen <flemming!madsen()madsensoft!dk>
|
||||
* Copyright (c) 2013 Joachim Nilsson <troglobit()gmail!com>
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
/**
|
||||
* Create an I/O watcher
|
||||
* @param ctx A valid libuev context
|
||||
* @param ctx A valid libuEv context
|
||||
* @param w Pointer to an uev_t watcher
|
||||
* @param cb I/O callback
|
||||
* @param arg Optional callback argument
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* libuev - Micro event loop library
|
||||
/* libuEv - Micro event loop library
|
||||
*
|
||||
* Copyright (c) 2012 Flemming Madsen <flemming!madsen()madsensoft!dk>
|
||||
* Copyright (c) 2013 Joachim Nilsson <troglobit()gmail!com>
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
#define UNUSED(arg) arg __attribute__ ((unused))
|
||||
|
||||
/* Private to libuev, do not use directly! */
|
||||
/* Private to libuEv, do not use directly! */
|
||||
int uev_watcher_init(uev_ctx_t *ctx, uev_t *w, uev_type_t type, uev_cb_t *cb, void *arg, int fd, int events)
|
||||
{
|
||||
if (!ctx || !w) {
|
||||
@@ -54,7 +54,7 @@ int uev_watcher_init(uev_ctx_t *ctx, uev_t *w, uev_type_t type, uev_cb_t *cb, vo
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Private to libuev, do not use directly! */
|
||||
/* Private to libuEv, do not use directly! */
|
||||
int uev_watcher_start(uev_t *w)
|
||||
{
|
||||
struct epoll_event ev;
|
||||
@@ -77,7 +77,7 @@ int uev_watcher_start(uev_t *w)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Private to libuev, do not use directly! */
|
||||
/* Private to libuEv, do not use directly! */
|
||||
int uev_watcher_stop(uev_t *w)
|
||||
{
|
||||
if (!w) {
|
||||
@@ -118,7 +118,7 @@ int uev_init(uev_ctx_t *ctx)
|
||||
|
||||
/**
|
||||
* Terminate the event loop
|
||||
* @param ctx A valid libuev context
|
||||
* @param ctx A valid libuEv context
|
||||
*
|
||||
* @return POSIX OK(0) or non-zero with @param errno set on error.
|
||||
*/
|
||||
@@ -162,7 +162,7 @@ int uev_exit(uev_ctx_t *ctx)
|
||||
|
||||
/**
|
||||
* Start the event loop
|
||||
* @param ctx A valid libuev context
|
||||
* @param ctx A valid libuEv context
|
||||
* @param flags A mask of %UEV_ONCE and %UEV_NONBLOCK, or zero
|
||||
*
|
||||
* With @flags set to %UEV_ONCE the event loop returns after the first
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* libuev - Micro event loop library
|
||||
/* libuEv - Micro event loop library
|
||||
*
|
||||
* Copyright (c) 2012 Flemming Madsen <flemming!madsen()madsensoft!dk>
|
||||
* Copyright (c) 2013 Joachim Nilsson <troglobit()gmail!com>
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
/**
|
||||
* Create a signal watcher
|
||||
* @param ctx A valid libuev context
|
||||
* @param ctx A valid libuEv context
|
||||
* @param w Pointer to an uev_t watcher
|
||||
* @param cb Timer callback
|
||||
* @param arg Optional callback argument
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* Test libuev event library
|
||||
/* Test libuEv event library
|
||||
*
|
||||
* Copyright (c) 2012 Flemming Madsen <flemming!madsen()madsensoft!dk>
|
||||
* Copyright (c) 2013 Joachim Nilsson <troglobit()gmail!com>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* libuev - Micro event loop library
|
||||
/* libuEv - Micro event loop library
|
||||
*
|
||||
* Copyright (c) 2012 Flemming Madsen <flemming!madsen()madsensoft!dk>
|
||||
* Copyright (c) 2013 Joachim Nilsson <troglobit()gmail!com>
|
||||
@@ -43,7 +43,7 @@ static void msec2tspec(int msec, struct timespec *ts)
|
||||
|
||||
/**
|
||||
* Create and start a timer watcher
|
||||
* @param ctx A valid libuev context
|
||||
* @param ctx A valid libuEv context
|
||||
* @param w Pointer to an uev_t watcher
|
||||
* @param cb Callback function
|
||||
* @param arg Optional callback argument
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* libuev - Micro event loop library
|
||||
/* libuEv - Micro event loop library
|
||||
*
|
||||
* Copyright (c) 2012 Flemming Madsen <flemming!madsen()madsensoft!dk>
|
||||
* Copyright (c) 2013 Joachim Nilsson <troglobit()gmail!com>
|
||||
@@ -52,7 +52,7 @@ typedef enum {
|
||||
/* Forward declare due to dependencys, don't try this at home kids. */
|
||||
struct uev;
|
||||
|
||||
/* Main libuev context type */
|
||||
/* Main libuEv context type */
|
||||
typedef struct {
|
||||
int running;
|
||||
int fd; /* For epoll() */
|
||||
|
||||
Reference in new issue
Block a user