Harout Hedeshian | b2fc5b1 | 2013-09-03 13:49:00 -0600 | [diff] [blame] | 1 | /****************************************************************************** |
| 2 | |
| 3 | R M N E T C L I . H |
| 4 | |
| 5 | Copyright (c) 2013, The Linux Foundation. All rights reserved. |
| 6 | |
| 7 | Redistribution and use in source and binary forms, with or without |
| 8 | modification, are permitted provided that the following conditions are |
| 9 | met: |
| 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 | |
| 20 | THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED |
| 21 | WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| 22 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT |
| 23 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS |
| 24 | BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 25 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 26 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR |
| 27 | BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| 28 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE |
| 29 | OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN |
| 30 | IF 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 */ |