X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommand.h;h=922a3d4f2e2c98fa8d25ac4efdd96af46fe21d9b;hp=887502bf012ad3699a1ac813789602dda7d494f4;hb=d14d33bf091e72b23b1f90ea18a0a01bed098b76;hpb=db7586006bc1a2b9057a2c108bf1e7d20fd6903f diff --git a/src/bin/lttng/command.h b/src/bin/lttng/command.h index 887502bf0..922a3d4f2 100644 --- a/src/bin/lttng/command.h +++ b/src/bin/lttng/command.h @@ -1,19 +1,18 @@ /* * Copyright (C) 2011 - David Goulet * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; only version 2 - * of the License. + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License, version 2 only, + * as published by the Free Software Foundation. * * 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 * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef _LTTNG_CMD_H @@ -30,8 +29,8 @@ enum cmd_error_code { CMD_SUCCESS, CMD_ERROR, CMD_UNDEFINED, - CMD_NOT_IMPLEMENTED, CMD_FATAL, + CMD_WARNING, }; struct cmd_struct { @@ -52,5 +51,6 @@ extern int cmd_add_context(int argc, const char **argv); extern int cmd_set_session(int argc, const char **argv); extern int cmd_version(int argc, const char **argv); extern int cmd_calibrate(int argc, const char **argv); +extern int cmd_view(int argc, const char **argv); #endif /* _LTTNG_CMD_H */