Commit b87a807b authored by Scott Vokes's avatar Scott Vokes
Browse files

Relocate comment for opaque `struct bus_t` type.

parent a1f1f782
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -22,10 +22,6 @@

#include "bus_types.h"

/* This opaque bus struct represents the only user-facing interface to
 * the network handling code. Callbacks are provided to react to network
 * events. */

/* Initialize a bus, based on configuration in *config. Returns a bool
 * indicating whether the construction succeeded, and the bus pointer
 * and/or a status code indicating the cause of failure in *res. */
+4 −0
Original line number Diff line number Diff line
@@ -237,6 +237,7 @@ typedef enum {
    BUS_SOCKET_SSL,
} bus_socket_t;

/* A message being packaged for delivery by the message bus. */
typedef struct {
    int fd;
    bus_socket_t type;
@@ -249,6 +250,9 @@ typedef struct {
    void *udata;
} bus_user_msg;

/* This opaque bus struct represents the only user-facing interface to
 * the network handling code. Callbacks are provided to react to network
 * events. */
struct bus_t;

typedef enum {