mirror of
https://github.com/thecyberlearn/chat-backend.git
synced 2026-08-18 14:12:53 +00:00
Features: - Django REST API backend - Multi-strategy web scraping system (Beautiful Soup, Playwright, Firecrawl) - Anti-detection features (proxy rotation, user-agent rotation) - Data export functionality (JSON, CSV, TXT) - Business and CrawledPage models - Enhanced crawling service with fallback mechanisms 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
58 lines
1.1 KiB
C
58 lines
1.1 KiB
C
/*
|
|
* Summary: dynamic module loading
|
|
* Description: basic API for dynamic module loading, used by
|
|
* libexslt added in 2.6.17
|
|
*
|
|
* Copy: See Copyright for the status of this software.
|
|
*
|
|
* Author: Joel W. Reed
|
|
*/
|
|
|
|
#ifndef __XML_MODULE_H__
|
|
#define __XML_MODULE_H__
|
|
|
|
#include <libxml/xmlversion.h>
|
|
|
|
#ifdef LIBXML_MODULES_ENABLED
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/**
|
|
* xmlModulePtr:
|
|
*
|
|
* A handle to a dynamically loaded module
|
|
*/
|
|
typedef struct _xmlModule xmlModule;
|
|
typedef xmlModule *xmlModulePtr;
|
|
|
|
/**
|
|
* xmlModuleOption:
|
|
*
|
|
* enumeration of options that can be passed down to xmlModuleOpen()
|
|
*/
|
|
typedef enum {
|
|
XML_MODULE_LAZY = 1, /* lazy binding */
|
|
XML_MODULE_LOCAL= 2 /* local binding */
|
|
} xmlModuleOption;
|
|
|
|
XMLPUBFUN xmlModulePtr xmlModuleOpen (const char *filename,
|
|
int options);
|
|
|
|
XMLPUBFUN int xmlModuleSymbol (xmlModulePtr module,
|
|
const char* name,
|
|
void **result);
|
|
|
|
XMLPUBFUN int xmlModuleClose (xmlModulePtr module);
|
|
|
|
XMLPUBFUN int xmlModuleFree (xmlModulePtr module);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* LIBXML_MODULES_ENABLED */
|
|
|
|
#endif /*__XML_MODULE_H__ */
|