blob: 503a86eb26c42482b19c455b4286ac1cc0399e1b [file] [log] [blame]
Harout Hedeshianb2fc5b12013-09-03 13:49:00 -06001/******************************************************************************
2
3 R M N E T C L I . H
4
5Copyright (c) 2013, The Linux Foundation. All rights reserved.
6
7Redistribution and use in source and binary forms, with or without
8modification, are permitted provided that the following conditions are
9met:
10 * Redistributions of source code must retain the above copyright
11 notice, this list of conditions and the following disclaimer.
12 * Redistributions in binary form must reproduce the above
13 copyright notice, this list of conditions and the following
14 disclaimer in the documentation and/or other materials provided
15 with the distribution.
16 * Neither the name of The Linux Foundation nor the names of its
17 contributors may be used to endorse or promote products derived
18 from this software without specific prior written permission.
19
20THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
21WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
23ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
24BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
27BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
29OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
30IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
32******************************************************************************/
33
34/******************************************************************************
35
36 @file rmnetcli.h
37 @brief headers for the command line interface to expose rmnet control API's
38
39 DESCRIPTION
40 Header file containing definition for the command line interface to expose
41 rmnet control API's
42
43******************************************************************************/
44
45#ifndef RMNETCLI_H
46#define RMNETCLI_H
47
48/* Print the help for the commands since the help flag was used. */
49#define RMNETCTL_CFG_SUCCESS_HELP_COMMAND 100
50/* No/invalid API call was specified. So return an error. */
51#define RMNETCTL_CFG_FAILURE_NO_COMMAND 101
52/* The buffer for egress device name was NULL */
53#define RMNETCTL_CFG_FAILURE_EGRESS_DEV_NAME_NULL 102
54
55/* This should always be the value of the starting element */
56#define RMNETCFG_ERR_NUM_START 100
57
58/* This should always be the total number of error message from CLI */
59#define RMNETCFG_TOTAL_ERR_MSGS 3
60
61#endif /* not defined RMNETCLI_H */