forked from enlightenment/efl
Remove double declarations.
No need to typedef to void. SVN revision: 26086
This commit is contained in:
parent
d0be3efc40
commit
5608f9adcf
|
@ -64,10 +64,9 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef _ECORE_CON_PRIVATE_H
|
||||
typedef void Ecore_Con_Server; /**< A connection handle */
|
||||
typedef void Ecore_Con_Client; /**< A connection handle */
|
||||
typedef void Ecore_Con_Url;
|
||||
typedef struct _Ecore_Con_Server Ecore_Con_Server; /**< A connection handle */
|
||||
typedef struct _Ecore_Con_Client Ecore_Con_Client; /**< A connection handle */
|
||||
typedef struct _Ecore_Con_Url Ecore_Con_Url;
|
||||
|
||||
typedef enum _Ecore_Con_Type
|
||||
{
|
||||
|
@ -78,8 +77,6 @@ extern "C" {
|
|||
ECORE_CON_USE_SSL = 16
|
||||
} Ecore_Con_Type;
|
||||
|
||||
#endif
|
||||
|
||||
typedef struct _Ecore_Con_Event_Client_Add Ecore_Con_Event_Client_Add;
|
||||
typedef struct _Ecore_Con_Event_Client_Del Ecore_Con_Event_Client_Del;
|
||||
typedef struct _Ecore_Con_Event_Server_Add Ecore_Con_Event_Server_Add;
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
|
||||
#include "Ecore.h"
|
||||
#include "ecore_private.h"
|
||||
#include "ecore_con_private.h"
|
||||
#include "Ecore_Con.h"
|
||||
#include "ecore_con_private.h"
|
||||
|
||||
#ifdef HAVE_NETINET_IN_H
|
||||
#include <netinet/in.h>
|
||||
|
|
|
@ -15,23 +15,6 @@
|
|||
|
||||
#define READBUFSIZ 65536
|
||||
|
||||
typedef struct _Ecore_Con_Client Ecore_Con_Client;
|
||||
typedef struct _Ecore_Con_Server Ecore_Con_Server;
|
||||
#ifdef HAVE_CURL
|
||||
typedef struct _Ecore_Con_Url Ecore_Con_Url;
|
||||
#else
|
||||
typedef void Ecore_Con_Url;
|
||||
#endif
|
||||
|
||||
typedef enum _Ecore_Con_Type
|
||||
{
|
||||
ECORE_CON_LOCAL_USER,
|
||||
ECORE_CON_LOCAL_SYSTEM,
|
||||
ECORE_CON_LOCAL_ABSTRACT,
|
||||
ECORE_CON_REMOTE_SYSTEM,
|
||||
ECORE_CON_USE_SSL = 16
|
||||
} Ecore_Con_Type;
|
||||
|
||||
struct _Ecore_Con_Client
|
||||
{
|
||||
Ecore_List __list_data;
|
||||
|
|
|
@ -37,8 +37,8 @@
|
|||
*/
|
||||
#include "Ecore.h"
|
||||
#include "ecore_private.h"
|
||||
#include "ecore_con_private.h"
|
||||
#include "Ecore_Con.h"
|
||||
#include "ecore_con_private.h"
|
||||
|
||||
#ifdef HAVE_CURL
|
||||
static int _ecore_con_url_fd_handler(void *data, Ecore_Fd_Handler *fd_handler);
|
||||
|
|
Loading…
Reference in New Issue