chore: rename quicproquo → quicprochat in docs, Docker, CI, and packaging
Rename all project references from quicproquo/qpq to quicprochat/qpc across documentation, Docker configuration, CI workflows, packaging scripts, operational configs, and build tooling. - Docker: crate paths, binary names, user/group, data dirs, env vars - CI: workflow crate references, binary names, artifact names - Docs: all markdown files under docs/, SDK READMEs, book.toml - Packaging: OpenWrt Makefile, init script, UCI config (file renames) - Scripts: justfile, dev-shell, screenshot, cross-compile, ai_team - Operations: Prometheus config, alert rules, Grafana dashboard - Config: .env.example (QPQ_* → QPC_*), CODEOWNERS paths - Top-level: README, CONTRIBUTING, ROADMAP, CLAUDE.md
This commit is contained in:
5
sdks/swift/Sources/CQuicProChat/module.modulemap
Normal file
5
sdks/swift/Sources/CQuicProChat/module.modulemap
Normal file
@@ -0,0 +1,5 @@
|
||||
module CQuicProChat {
|
||||
header "quicprochat_ffi.h"
|
||||
link "quicprochat_ffi"
|
||||
export *
|
||||
}
|
||||
@@ -1,9 +1,9 @@
|
||||
// quicproquo_ffi.h — C header for libquicproquo_ffi.
|
||||
// quicprochat_ffi.h — C header for libquicprochat_ffi.
|
||||
//
|
||||
// Mirrors the extern "C" functions from crates/quicproquo-ffi/src/lib.rs.
|
||||
// Mirrors the extern "C" functions from crates/quicprochat-ffi/src/lib.rs.
|
||||
|
||||
#ifndef QUICPROQUO_FFI_H
|
||||
#define QUICPROQUO_FFI_H
|
||||
#ifndef QUICPROCHAT_FFI_H
|
||||
#define QUICPROCHAT_FFI_H
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
@@ -22,7 +22,7 @@ extern "C" {
|
||||
// Opaque handle type.
|
||||
typedef struct QpqHandle QpqHandle;
|
||||
|
||||
// Connect to a quicproquo server. Returns NULL on failure.
|
||||
// Connect to a quicprochat server. Returns NULL on failure.
|
||||
QpqHandle* qpq_connect(const char* server, const char* ca_cert, const char* server_name);
|
||||
|
||||
// Authenticate with OPAQUE credentials.
|
||||
@@ -49,4 +49,4 @@ void qpq_free_string(char* ptr);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // QUICPROQUO_FFI_H
|
||||
#endif // QUICPROCHAT_FFI_H
|
||||
@@ -1,5 +0,0 @@
|
||||
module CQuicProQuo {
|
||||
header "quicproquo_ffi.h"
|
||||
link "quicproquo_ffi"
|
||||
export *
|
||||
}
|
||||
@@ -1,9 +1,9 @@
|
||||
import Foundation
|
||||
import CQuicProQuo
|
||||
import CQuicProChat
|
||||
|
||||
/// High-level quicproquo client for iOS/macOS.
|
||||
/// High-level quicprochat client for iOS/macOS.
|
||||
///
|
||||
/// Wraps ``libquicproquo_ffi`` to provide a Swift-native API for
|
||||
/// Wraps ``libquicprochat_ffi`` to provide a Swift-native API for
|
||||
/// connecting, authenticating, and messaging.
|
||||
///
|
||||
/// ```swift
|
||||
@@ -20,7 +20,7 @@ public final class QpqClient: @unchecked Sendable {
|
||||
private var handle: OpaquePointer?
|
||||
private let lock = NSLock()
|
||||
|
||||
/// Connect to a quicproquo server.
|
||||
/// Connect to a quicprochat server.
|
||||
///
|
||||
/// - Parameters:
|
||||
/// - server: Server address as ``host:port``.
|
||||
@@ -1,4 +1,4 @@
|
||||
/// Errors returned by the QuicProQuo SDK.
|
||||
/// Errors returned by the QuicProChat SDK.
|
||||
public enum QpqError: Error, Sendable, CustomStringConvertible {
|
||||
/// Connection to the server failed.
|
||||
case connectionFailed(String)
|
||||
Reference in New Issue
Block a user