Skip to content

Commit

Permalink
IPC: seperate ipc_us.c into 2 files
Browse files Browse the repository at this point in the history
Seperate into a setup file and a socket backend file, it was getting messy
and confusing. Also preparing for using DGRAM sockets.

This should not result in any logical changes.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
  • Loading branch information
asalkeld committed Feb 6, 2013
1 parent aa43bb9 commit 9d2eca2
Show file tree
Hide file tree
Showing 4 changed files with 418 additions and 365 deletions.
5 changes: 2 additions & 3 deletions lib/Makefile.am
Expand Up @@ -63,7 +63,8 @@ libqb_la_LDFLAGS = -version-info 14:4:14

source_to_lint = util.c hdb.c ringbuffer.c ringbuffer_helper.c \
array.c loop.c loop_poll.c loop_job.c \
loop_timerlist.c ipcc.c ipcs.c ipc_shm.c ipc_us.c \
loop_timerlist.c ipcc.c ipcs.c ipc_shm.c \
ipc_setup.c ipc_socket.c \
log.c log_thread.c log_blackbox.c log_file.c \
log_syslog.c log_dcs.c log_format.c \
map.c skiplist.c hashtable.c trie.c
Expand Down Expand Up @@ -111,5 +112,3 @@ dist-clean-local:
clean-generic:
$(AM_V_GEN)rm -f run_splint.sh
endif


1 change: 1 addition & 0 deletions lib/ipc_int.h
Expand Up @@ -189,6 +189,7 @@ void qb_ipcs_shm_init(struct qb_ipcs_service *s);

int32_t qb_ipcs_us_publish(struct qb_ipcs_service *s);
int32_t qb_ipcs_us_withdraw(struct qb_ipcs_service *s);
int32_t qb_ipcc_us_sock_connect(const char *socket_name, int32_t * sock_pt);

int32_t qb_ipcs_dispatch_connection_request(int32_t fd, int32_t revents, void *data);
int32_t qb_ipcs_dispatch_service_request(int32_t fd, int32_t revents, void *data);
Expand Down

0 comments on commit 9d2eca2

Please sign in to comment.