| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- /*
- * This file is part of the Web Terminal Library.
- *
- * Copyright (c) 2017, Armink, <armink.ztl@gmail.com>
- *
- * Permission is hereby granted, free of charge, to any person obtaining
- * a copy of this software and associated documentation files (the
- * 'Software'), to deal in the Software without restriction, including
- * without limitation the rights to use, copy, modify, merge, publish,
- * distribute, sublicense, and/or sell copies of the Software, and to
- * permit persons to whom the Software is furnished to do so, subject to
- * the following conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
- * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
- * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
- * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- *
- * Function: It is an head file for this library. You can see all be called functions.
- * Created on: 2017-08-20
- */
- #ifndef _WEB_TERMINAL_H_
- #define _WEB_TERMINAL_H_
- #include <rtthread.h>
- #if defined(PKG_WEBTERMINAL_PORT)
- #define WEB_TERMINAL_PORT PKG_WEBTERMINAL_PORT
- #else
- #define WEB_TERMINAL_PORT "8090"
- #endif
- #define WT_SW_VERSION "0.1.2"
- void web_terminal_init(void);
- void web_terminal_start(void);
- void web_terminal_stop(void);
- #endif /* _WEB_TERMINAL_H_ */
|