rename awclient.[ch] to socket.[ch]

This commit is contained in:
Julien Danjou 2008-02-27 09:07:52 +01:00
parent 6fd3801ef0
commit 11b0982a58
5 changed files with 10 additions and 11 deletions

View File

@ -129,12 +129,11 @@ awesome_SOURCES = \
window.c window.h \ window.c window.h \
rules.c rules.h \ rules.c rules.h \
mouse.c mouse.h \ mouse.c mouse.h \
common/awclient.c \ common/socket.c common/socket.h \
common/swindow.c common/swindow.h \ common/swindow.c common/swindow.h \
widget.c widget.h \ widget.c widget.h \
ewmh.c ewmh.h \ ewmh.c ewmh.h \
common/list.h structs.h \ common/list.h structs.h \
common/awclient.h \
common/configopts.h common/configopts.c common/configopts.h common/configopts.c
awesome_SOURCES += $(LAYOUTS) awesome_SOURCES += $(LAYOUTS)
awesome_SOURCES += $(WIDGETS) awesome_SOURCES += $(WIDGETS)
@ -142,9 +141,9 @@ awesome_LDADD = $(XFT_LIBS) $(X_LIBS) $(CAIRO_LIBS) $(CONFUSE_LIBS) $(XRANDR_LIB
bin_PROGRAMS += awesome-client bin_PROGRAMS += awesome-client
awesome_client_SOURCES = \ awesome_client_SOURCES = \
awesome-client.c common/awclient.h \ awesome-client.c \
common/socket.c common/socket.h \
common/version.c common/version.h \ common/version.c common/version.h \
common/awclient.c \
common/util.c common/util.h common/util.c common/util.h
bin_PROGRAMS += awesome-message bin_PROGRAMS += awesome-message

View File

@ -26,7 +26,7 @@
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/un.h> #include <sys/un.h>
#include "common/awclient.h" #include "common/socket.h"
#include "common/version.h" #include "common/version.h"
#include "common/util.h" #include "common/util.h"

View File

@ -53,7 +53,7 @@
#include "focus.h" #include "focus.h"
#include "ewmh.h" #include "ewmh.h"
#include "tag.h" #include "tag.h"
#include "common/awclient.h" #include "common/socket.h"
#include "common/util.h" #include "common/util.h"
#include "common/version.h" #include "common/version.h"
#include "common/configopts.h" #include "common/configopts.h"

View File

@ -1,5 +1,5 @@
/* /*
* awclient.c - awesome client, communicate with socket, common functions * socket.c - awesome client, communicate with socket, common functions
* *
* Copyright © 2007-2008 Julien Danjou <julien@danjou.info> * Copyright © 2007-2008 Julien Danjou <julien@danjou.info>
* Copyright © 2007 daniel@brinkers.de * Copyright © 2007 daniel@brinkers.de
@ -24,7 +24,7 @@
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/un.h> #include <sys/un.h>
#include "common/awclient.h" #include "common/socket.h"
#include "common/util.h" #include "common/util.h"
#define CONTROL_UNIX_SOCKET_PATH ".awesome_ctl." #define CONTROL_UNIX_SOCKET_PATH ".awesome_ctl."

View File

@ -1,5 +1,5 @@
/* /*
* awclient.h - awesome client header * socket.h - awesome socket client header
* *
* Copyright © 2007-2008 Julien Danjou <julien@danjou.info> * Copyright © 2007-2008 Julien Danjou <julien@danjou.info>
* *
@ -19,8 +19,8 @@
* *
*/ */
#ifndef AWESOME_COMMON_AWCLIENT_H #ifndef AWESOME_COMMON_SOCKET_H
#define AWESOME_COMMON_AWCLIENT_H #define AWESOME_COMMON_SOCKET_H
struct sockaddr_un * get_client_addr(const char *); struct sockaddr_un * get_client_addr(const char *);
int get_client_socket(void); int get_client_socket(void);