mirror of https://github.com/arendst/Tasmota.git
31 lines
747 B
C
31 lines
747 B
C
/********************************************************************
|
|
* Berry module `webserver`
|
|
*
|
|
* To use: `import webserver`
|
|
*
|
|
* Allows to respond to HTTP request
|
|
*******************************************************************/
|
|
#include "be_constobj.h"
|
|
|
|
extern int m_md5_init(bvm *vm);
|
|
extern int m_md5_update(bvm *vm);
|
|
extern int m_md5_finish(bvm *vm);
|
|
|
|
#include "../generate/be_fixed_be_class_md5.h"
|
|
|
|
void be_load_md5_lib(bvm *vm) {
|
|
be_pushntvclass(vm, &be_class_md5);
|
|
be_setglobal(vm, "MD5");
|
|
be_pop(vm, 1);
|
|
}
|
|
/* @const_object_info_begin
|
|
|
|
class be_class_md5 (scope: global, name: MD5) {
|
|
.p, var
|
|
|
|
init, func(m_md5_init)
|
|
update, func(m_md5_update)
|
|
finish, func(m_md5_finish)
|
|
}
|
|
@const_object_info_end */
|