X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=ltt-control%2Fliblttctl%2Flttctl.h;h=b3766d759d88b5d251d2043baaf60e1d90a26597;hb=10e8a1885ae6dede0ec1487696d1285d874449c7;hp=fc5a4f9cbbb9aa33cd2d4efec3b43cd1f4ddca88;hpb=002f91bb665f7f21e5777ccd2a89087fa129773d;p=ltt-control.git diff --git a/ltt-control/liblttctl/lttctl.h b/ltt-control/liblttctl/lttctl.h index fc5a4f9..b3766d7 100644 --- a/ltt-control/liblttctl/lttctl.h +++ b/ltt-control/liblttctl/lttctl.h @@ -1,7 +1,7 @@ /* libltt header file * * Copyright 2005- - * Mathieu Desnoyers + * Mathieu Desnoyers * * * This program is free software; you can redistribute it and/or modify @@ -11,7 +11,7 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * @@ -50,21 +50,21 @@ typedef struct lttctl_peer_msg { char trace_type[NAME_MAX]; enum trace_op op; union { - struct { - enum trace_mode mode; - unsigned subbuf_size; - unsigned n_subbufs; - } new_trace; + struct { + enum trace_mode mode; + unsigned subbuf_size; + unsigned n_subbufs; + } new_trace; } args; } lttctl_peer_msg_t; struct lttctl_handle { - int fd; - //u_int8_t blocking; - struct sockaddr_nl local; - struct sockaddr_nl peer; + int fd; + //u_int8_t blocking; + struct sockaddr_nl local; + struct sockaddr_nl peer; }; typedef struct lttctl_resp_msg {