diff options
| author | raven <citrons@mondecitronne.com> | 2026-03-21 20:17:53 -0500 |
|---|---|---|
| committer | raven <citrons@mondecitronne.com> | 2026-03-21 20:21:41 -0500 |
| commit | bb868d2d0d4d5a16d798d01d4a2ca8573ddc8a60 (patch) | |
| tree | f75915236301829ae875965d1e025dd4d79aef5a /classic/cpe.go | |
| parent | 64902c31382443086010f8d65d4b18df91d7e9a7 (diff) | |
support CPE
Diffstat (limited to 'classic/cpe.go')
| -rw-r--r-- | classic/cpe.go | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/classic/cpe.go b/classic/cpe.go new file mode 100644 index 0000000..222ec74 --- /dev/null +++ b/classic/cpe.go @@ -0,0 +1,17 @@ +package classic + +type ExtInfo struct { + AppName String + ExtensionCount int16 +} +func (e *ExtInfo) PacketId() byte { + return 0x10 +} + +type ExtEntry struct { + ExtName String + Version int32 +} +func (e *ExtEntry) PacketId() byte { + return 0x11 +} |
