mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-08-17 17:41:58 +08:00
Formatting: Apply to C headers
This commit is contained in:
@@ -30,7 +30,7 @@ extern "C" {
|
||||
#include "ctrl_shell.h"
|
||||
#include "mosquitto_ctrl.h"
|
||||
|
||||
struct ctrl_shell{
|
||||
struct ctrl_shell {
|
||||
char **subscription_list;
|
||||
int subscription_list_count;
|
||||
int run;
|
||||
@@ -59,7 +59,7 @@ struct ctrl_shell{
|
||||
int transport;
|
||||
};
|
||||
|
||||
struct ctrl_shell__module{
|
||||
struct ctrl_shell__module {
|
||||
struct completion_tree_root *completion_commands;
|
||||
const char *request_topic;
|
||||
const char *response_topic;
|
||||
|
||||
@@ -74,7 +74,7 @@ struct mosq_ctrl {
|
||||
char *request_topic;
|
||||
char *response_topic;
|
||||
char *payload;
|
||||
void (*payload_callback)(struct mosq_ctrl *, long , const void *);
|
||||
void (*payload_callback)(struct mosq_ctrl *, long, const void *);
|
||||
void *userdata;
|
||||
};
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef MOSQUITTO_SIGNAL_H
|
||||
#define MOSQUITTO_SIGNAL_H
|
||||
|
||||
enum mosq_signal{
|
||||
enum mosq_signal {
|
||||
MSIG_CONFIG_RELOAD,
|
||||
MSIG_LOG_ROTATE,
|
||||
MSIG_SHUTDOWN,
|
||||
|
||||
Reference in New Issue
Block a user