miniupnpc-libevent: #define MINIUPNPC_LIBEVENT_API_VERSION 1

This commit is contained in:
Thomas Bernard 2014-12-02 14:48:39 +01:00
parent 12e49bda0d
commit 9fa6e70a55
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $Id: miniupnpc-libevent.h,v 1.10 2014/12/01 17:41:11 nanard Exp $ */ /* $Id: miniupnpc-libevent.h,v 1.11 2014/12/02 13:33:42 nanard Exp $ */
/* miniupnpc-libevent /* miniupnpc-libevent
* Copyright (c) 2008-2014, Thomas BERNARD <miniupnp@free.fr> * Copyright (c) 2008-2014, Thomas BERNARD <miniupnp@free.fr>
* http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
@ -26,6 +26,8 @@
extern "C" { extern "C" {
#endif #endif
#define MINIUPNPC_LIBEVENT_API_VERSION 1
#define UPNPC_OK 0 #define UPNPC_OK 0
#define UPNPC_ERR_INVALID_ARGS (-1) #define UPNPC_ERR_INVALID_ARGS (-1)
#define UPNPC_ERR_SOCKET_FAILED (-2) #define UPNPC_ERR_SOCKET_FAILED (-2)