Switch to clang-format for code formatting, include Mac client

This commit is contained in:
Mike Gelfand
2021-08-15 12:41:48 +03:00
parent 409f59889b
commit db3d40d0ed
349 changed files with 16657 additions and 12081 deletions

View File

@@ -12,10 +12,9 @@ struct tr_error;
typedef struct dtr_callbacks
{
int (* on_start)(void* arg, bool foreground);
void (* on_stop)(void* arg);
void (* on_reconfigure)(void* arg);
}
dtr_callbacks;
int (*on_start)(void* arg, bool foreground);
void (*on_stop)(void* arg);
void (*on_reconfigure)(void* arg);
} dtr_callbacks;
bool dtr_daemon(dtr_callbacks const* cb, void* cb_arg, bool foreground, int* exit_code, struct tr_error** error);