Browse Source

[Minor] Forgotten files

pull/4857/head
Vsevolod Stakhov 2 months ago
parent
commit
72539a7ad1
No account linked to committer's email address
2 changed files with 46 additions and 0 deletions
  1. 19
    0
      src/lua/lua_classnames.c
  2. 27
    0
      src/lua/lua_classnames.h

+ 19
- 0
src/lua/lua_classnames.c View File

@@ -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 View File

@@ -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

Loading…
Cancel
Save