Skip to content

Commit

Permalink
common/libflux: Rename dispatch.[ch]
Browse files Browse the repository at this point in the history
Rename dispatch.[ch] to msg_handler.[ch] for clarity.

Fixes #1136
  • Loading branch information
chu11 committed Aug 29, 2017
1 parent 56df52e commit 552cab6
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/common/libcompat/reactor.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

#include "src/common/libflux/handle.h"
#include "src/common/libflux/reactor.h"
#include "src/common/libflux/dispatch.h"
#include "src/common/libflux/msg_handler.h"
#include "src/common/libflux/message.h"
#include "src/common/libutil/xzmalloc.h"
#include "src/common/libutil/log.h"
Expand Down
2 changes: 1 addition & 1 deletion src/common/libcompat/reactor.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "src/common/libflux/message.h"
#include "src/common/libflux/handle.h"
#include "src/common/libflux/reactor.h"
#include "src/common/libflux/dispatch.h"
#include "src/common/libflux/msg_handler.h"

/* FluxMsgHandler indicates msg is "consumed" by destroying it.
* Callbacks return 0 on success, -1 on error and set errno.
Expand Down
4 changes: 2 additions & 2 deletions src/common/libflux/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ fluxcoreinclude_HEADERS = \
handle.h \
connector.h \
reactor.h \
dispatch.h \
msg_handler.h \
reduce.h \
security.h \
message.h \
Expand Down Expand Up @@ -82,7 +82,7 @@ libflux_la_SOURCES = \
attr.c \
handle.c \
reactor.c \
dispatch.c \
msg_handler.c \
reduce.c \
security.c \
message.c \
Expand Down
2 changes: 1 addition & 1 deletion src/common/libflux/flux.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "types.h"
#include "handle.h"
#include "reactor.h"
#include "dispatch.h"
#include "msg_handler.h"
#include "connector.h"
#include "security.h"
#include "reduce.h"
Expand Down
2 changes: 1 addition & 1 deletion src/common/libflux/future.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "reactor.h"
#include "types.h"
#include "handle.h"
#include "dispatch.h"
#include "msg_handler.h"

typedef struct flux_future flux_future_t;

Expand Down
2 changes: 1 addition & 1 deletion src/common/libflux/handle.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#include "connector.h"
#include "message.h"
#include "tagpool.h"
#include "dispatch.h" // for flux_sleep_on ()
#include "msg_handler.h" // for flux_sleep_on ()
#include "flog.h"
#include "conf.h"

Expand Down
2 changes: 1 addition & 1 deletion src/common/libflux/mrpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#include "message.h"
#include "info.h"
#include "reactor.h"
#include "dispatch.h"
#include "msg_handler.h"
#include "mrpc.h"

#include "src/common/libutil/nodeset.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

#include "message.h"
#include "reactor.h"
#include "dispatch.h"
#include "msg_handler.h"
#include "response.h"
#include "info.h"
#include "flog.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _FLUX_CORE_DISPATCH_H
#define _FLUX_CORE_DISPATCH_H
#ifndef _FLUX_CORE_MSG_HANDLER_H
#define _FLUX_CORE_MSG_HANDLER_H

#include "message.h"
#include "handle.h"
Expand Down Expand Up @@ -42,7 +42,7 @@ void flux_msg_handler_delvec (struct flux_msg_handler_spec tab[]);
*/
int flux_dispatch_requeue (flux_t *h);

#endif /* !_FLUX_CORE_DISPATCH_H */
#endif /* !_FLUX_CORE_MSG_HANDLER_H */

/*
* vi:tabstop=4 shiftwidth=4 expandtab
Expand Down
2 changes: 1 addition & 1 deletion src/common/libflux/rpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#include "info.h"
#include "rpc.h"
#include "reactor.h"
#include "dispatch.h"
#include "msg_handler.h"

#include "src/common/libutil/nodeset.h"

Expand Down

0 comments on commit 552cab6

Please sign in to comment.