llvm-project/lldb/test/Shell/RPC/Generator/Inputs/Server/CheckConstCharPointer.h
Chelsea Cassanova 5caf668a6f
[lldb][RPC] Upstream RPC server interface emitters (#138032)
This commit upstreams the LLDB RPC server interface emitters. These
emitters generate the server-side API interfaces for RPC, which
communicate directly with liblldb itself out of process using the SB
API.

https://discourse.llvm.org/t/rfc-upstreaming-lldb-rpc/85804
2025-07-07 10:30:03 -07:00

15 lines
427 B
C++

#ifndef LLDB_API_SBRPC_CHECKCONSTCHARPOINTER_H
#define LLDB_API_SBRPC_CHECKCONSTCHARPOINTER_H
namespace lldb {
class LLDB_API SBRPC_CHECKCONSTCHARPOINTER {
public:
// const char * parameters must decoded as rpc_common::ConstCharPointer in server side
// source files.
int CheckConstCharPointer(char *string);
}; // class SBRPC_CHECKCONSTCHARPOINTER
} // namespace lldb
#endif // LLDB_API_SBRPC_CHECKCONSTCHARPOINTER_H