Ver código fonte

[Minor] Forgotten files

pull/4857/head
Vsevolod Stakhov 2 meses atrás
pai
commit
72539a7ad1
Nenhuma conta vinculada ao e-mail do autor do commit
2 arquivos alterados com 46 adições e 0 exclusões
  1. 19
    0
      src/lua/lua_classnames.c
  2. 27
    0
      src/lua/lua_classnames.h

+ 19
- 0
src/lua/lua_classnames.c Ver arquivo

@@ -0,0 +1,19 @@
/*
* Copyright 2024 Vsevolod Stakhov
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#include "lua_classnames.h"

const char *rspamd_task_classname = "rspamd{task}";

+ 27
- 0
src/lua/lua_classnames.h Ver arquivo

@@ -0,0 +1,27 @@
/*
* Copyright 2024 Vsevolod Stakhov
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/


#ifndef RSPAMD_LUA_CLASSNAMES_H
#define RSPAMD_LUA_CLASSNAMES_H

/*
* Here are static definitions of all classes used in Rspamd Lua API
*/

extern const char *rspamd_task_classname;

#endif//RSPAMD_LUA_CLASSNAMES_H

Carregando…
Cancelar
Salvar