aboutsummaryrefslogtreecommitdiff
path: root/src/proto/proto.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/proto/proto.zig')
-rw-r--r--src/proto/proto.zig7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/proto/proto.zig b/src/proto/proto.zig
index 4465e4b..df1b717 100644
--- a/src/proto/proto.zig
+++ b/src/proto/proto.zig
@@ -9,7 +9,10 @@ pub const Query = @import("query.zig");
pub const DataRow = @import("data_row.zig");
pub const RowDescription = @import("row_description.zig");
pub const CommandComplete = @import("command_complete.zig");
-pub const CopyInResponse = @import("copy_in_response.zig");
+const CopyXResponse = @import("copy_x_response.zig").CopyXResponse;
+pub const CopyInResponse = CopyXResponse('G');
+pub const CopyOutResponse = CopyXResponse('H');
+pub const CopyBothResponse = CopyXResponse('W');
test {
_ = AuthenticationRequest;
@@ -22,5 +25,5 @@ test {
_ = DataRow;
_ = RowDescription;
_ = CommandComplete;
- _ = CopyInResponse;
+ _ = CopyXResponse;
}