Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
parse.h
00001 /* ************************************************************************** 00002 * 00003 * 00004 * 00005 * 00006 * ************************************************************************** 00007 * FileName: parse.h 00008 * Dependencies: 00009 * Module: 00010 * Compiler: 00011 * 00012 * Author Rev. Date Comment 00013 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 00014 * Stefano Lai 1.0 03/27/2014 First release 00015 * 00016 * 00017 * 00018 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 00019 * 00020 * Software License Agreement 00021 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 00022 * This is free software; you can redistribute it and/or modify it under 00023 * the terms of the GNU General Public License (version 2) as published by 00024 * the Free Software Foundation AND MODIFIED BY OpenPicus team. 00025 * 00026 * ***NOTE*** The exception to the GPL is included to allow you to distribute 00027 * a combined work that includes OpenPicus code without being obliged to 00028 * provide the source code for proprietary components outside of the OpenPicus 00029 * code. 00030 * OpenPicus software is distributed in the hope that it will be useful, but 00031 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00032 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 00033 * more details. 00034 * 00035 * 00036 * Warranty 00037 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 00038 * THE SOFTWARE AND DOCUMENTATION ARE PROVIDED "AS IS" WITHOUT 00039 * WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT 00040 * LIMITATION, ANY WARRANTY OF MERCHANTABILITY, FITNESS FOR A 00041 * PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL 00042 * WE ARE LIABLE FOR ANY INCIDENTAL, SPECIAL, INDIRECT OR 00043 * CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF 00044 * PROCUREMENT OF SUBSTITUTE GOODS, TECHNOLOGY OR SERVICES, ANY CLAIMS 00045 * BY THIRD PARTIES (INCLUDING BUT NOT LIMITED TO ANY DEFENSE 00046 * THEREOF), ANY CLAIMS FOR INDEMNITY OR CONTRIBUTION, OR OTHER 00047 * SIMILAR COSTS, WHETHER ASSERTED ON THE BASIS OF CONTRACT, TORT 00048 * (INCLUDING NEGLIGENCE), BREACH OF WARRANTY, OR OTHERWISE. 00049 * 00050 **************************************************************************/ 00051 #ifndef MBED_PARSE_H 00052 #define MBED_PARSE_H 00053 00054 #define BETWEEN "BETWEEN" 00055 #define BEFORE "BEFORE" 00056 #define AFTER "AFTER" 00057 00058 #define YES "YES" 00059 #define NO "NO" 00060 00061 00062 class PARSE{ 00063 public: 00064 void dynamicPARSE(char *tab[][5], int rows); 00065 void HTTPdynamicPARSE(char host[], char command[], char *tab[][5], int rows, int snifftime); 00066 void multiPARSEbetween(char str[], char start[], char stop[], char *substr[], int multi); 00067 void PARSEafter(char str[], char start[], char substr[]); 00068 void PARSEbefore(char str[], char stop[], char substr[]); 00069 void PARSEbetween(char str[], char start[], char stop[], char substr[]); 00070 00071 private: 00072 00073 }; 00074 00075 #endif /*#define MBED_PARSE_H*/
Generated on Fri Jul 15 2022 10:25:59 by
1.7.2