diff options
author | Andrew Elder <aelder@audioscience.com> | 2013-09-17 20:00:15 -0400 |
---|---|---|
committer | Andrew Elder <aelder@audioscience.com> | 2013-11-01 15:47:12 -0400 |
commit | ada5fda6295bcc58214406438e0a101b0917e1e5 (patch) | |
tree | c12cccb40bbe9b819f7f37537403324cfe7c5c50 /examples/mrp_client | |
parent | 3bcf332cda08a010d386dd5cf768e67b9568b363 (diff) | |
download | Open-AVB-ada5fda6295bcc58214406438e0a101b0917e1e5.tar.gz |
MRP: examples: helper: add enums for listener declaration types (avoids magic numbers in the code)
Diffstat (limited to 'examples/mrp_client')
-rwxr-xr-x | examples/mrp_client/mrpdhelper.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/mrp_client/mrpdhelper.h b/examples/mrp_client/mrpdhelper.h index 07e0682f..f59053b4 100755 --- a/examples/mrp_client/mrpdhelper.h +++ b/examples/mrp_client/mrpdhelper.h @@ -79,6 +79,13 @@ enum mrpdhelper_applicant_state { mrpdhelper_applicant_state_LO }; +enum mrpdhelper_listener_declaration_type { + mrpdhelper_listener_declaration_type_ignore, + mrpdhelper_listener_declaration_type_asking_failed, + mrpdhelper_listener_declaration_type_ready, + mrpdhelper_listener_declaration_type_ready_failed +}; + struct mrpdhelper_mmrp_notify { uint64_t mac; }; |