X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Fload-internal.h;h=9284741df7c5d6f8e04f06ca75e6bfa6495b8105;hp=85f0afa542f194e12494accc50ef4de136ac3a4a;hb=ab5be9fa2eb5ba9600a82cd18fd3cfcbac69169a;hpb=9245bd0e72bbb5cea41f8f6483e7ef3e088a2403 diff --git a/include/lttng/load-internal.h b/include/lttng/load-internal.h index 85f0afa54..9284741df 100644 --- a/include/lttng/load-internal.h +++ b/include/lttng/load-internal.h @@ -1,19 +1,9 @@ /* - * Copyright (C) 2014 - Jérémie Galarneau - * David Goulet + * Copyright (C) 2014 Jérémie Galarneau + * Copyright (C) 2014 David Goulet * - * This library is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License, version 2.1 only, - * as published by the Free Software Foundation. + * SPDX-License-Identifier: LGPL-2.1-only * - * This library 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 Lesser General Public License - * for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this library; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef LTTNG_LOAD_INTERNAL_ABI_H @@ -22,18 +12,30 @@ #include #include +#include #include +#include /* * Object used by the load_session API. This is opaque to the public library. */ struct lttng_load_session_attr { /* Name of the session to load, empty string means all. */ - char session_name[NAME_MAX]; + char session_name[LTTNG_NAME_MAX]; /* URL of the session configuration file to load. */ char input_url[PATH_MAX]; /* Overwrite the session if it exists. */ uint32_t overwrite; + /* The raw override url for getter */ + char *raw_override_url; + /* The raw override path url for getter */ + char *raw_override_path_url; + /* The raw override ctrl url for getter */ + char *raw_override_ctrl_url; + /* The raw override data url for getter */ + char *raw_override_data_url; + /* Override struct */ + struct config_load_session_override_attr *override_attr; } LTTNG_PACKED; #endif /* LTTNG_LOAD_INTERNAL_ABI_H */