feat: add psagentai agent with deployment and configuration
Initial project setup including the main agent script, configuration files, profile JSON state, systemd service unit, startup script, deployment documentation, and Python dependencies. Includes .env, venv/, and __pycache__/ which should likely be excluded via .gitignore to avoid committing secrets and artifacts.
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
/**
|
||||
This file was auto-generated by mupdfwrap.py.
|
||||
*/
|
||||
|
||||
#ifndef MUPDF_INTERNAL_H
|
||||
#define MUPDF_INTERNAL_H
|
||||
|
||||
|
||||
#include <iostream>
|
||||
|
||||
|
||||
namespace mupdf
|
||||
{
|
||||
|
||||
#define internal_assert(expression) (expression) ? (void) 0 : internal_assert_fail(__FILE__, __LINE__, __FUNCTION__, #expression)
|
||||
FZ_FUNCTION void internal_assert_fail(const char* file, int line, const char* fn, const char* expression);
|
||||
|
||||
/** Internal use only. Looks at environmental variable <name>; returns 0 if unset else int value. */
|
||||
FZ_FUNCTION int internal_env_flag(const char* name);
|
||||
|
||||
/** Internal use only. Looks at environmental variable <name>; returns 0 if unset else int value. */
|
||||
FZ_FUNCTION int internal_env_flag_check_unset( const char* if_, const char* name);
|
||||
|
||||
/** Internal use only. Returns `fz_context*` for use by current thread. */
|
||||
FZ_FUNCTION fz_context* internal_context_get();
|
||||
|
||||
/* Internal, do not call directly. */
|
||||
FZ_FUNCTION void internal_check_ndebug0(bool caller_ndebug_defined);
|
||||
|
||||
/** Checks current NDEBUG is same as NDEBUG used when C++ bindings
|
||||
were built. If not, shows message on cerr and calls abort().
|
||||
|
||||
Mixing NDEBUG and non-NDEBUG code is not supported by the C++
|
||||
bindings.
|
||||
*/
|
||||
static inline void internal_check_ndebug()
|
||||
{
|
||||
#ifdef NDEBUG
|
||||
internal_check_ndebug0(true);
|
||||
#else
|
||||
internal_check_ndebug0(false);
|
||||
#endif
|
||||
}
|
||||
|
||||
} /* End of namespace mupdf. */
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user