Skip to content

refactor(agnocast_kmod): split agnocast_main.c into multiple files #1152

@Koichi98

Description

@Koichi98

agnocast_main.c has grown to ~3500 lines and mixes several concerns, making it hard to navigate and maintain.

Proposed changes

  • Split into multiple files by responsibility (e.g., topic operations, exit handling, ioctl dispatch)
  • Refactor the ~590-line agnocast_ioctl() dispatch function by extracting helpers for repeated boilerplate and splitting into sub-functions by category
  • Any other cleanup opportunities found along the way

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions