Skip to content

use tool to generate ProgramType and AttachType enums#92

Merged
fuhry merged 1 commit into
dropbox:masterfrom
fuhry:generate-enums
Jul 2, 2026
Merged

use tool to generate ProgramType and AttachType enums#92
fuhry merged 1 commit into
dropbox:masterfrom
fuhry:generate-enums

Conversation

@fuhry

@fuhry fuhry commented Jun 30, 2026

Copy link
Copy Markdown
Member

Summary

Add a tool that generates the ProgramType and AttachType enums automatically from Linux headers installed on the system.

The generated files are checked in, in order to preserve building in a single step and support building on systems which do not have linux-api-headers installed.

The tool that generates Go from C-language enums was generated by Claude and lightly modified by me.

Test Plan

Confirmed the generated output makes sense and constant names match the existing ones.

## Summary
Add a tool that generates the `ProgramType` and `AttachType` enums automatically from Linux headers installed on the system.

The generated files are checked in, in order to preserve building in a single step and support building on systems which do not have linux-api-headers installed.

The tool that generates Go from C-language enums was generated by Claude and lightly modified by me.

## Test Plan
Confirmed the generated output makes sense and constant names match the existing ones.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-Off-By: Dan Fuhry <fuhry@dropbox.com>
@fuhry fuhry merged commit 0b6322a into dropbox:master Jul 2, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants