Prototypes for BBMD getters and setters, and revised registration functions to return something approximating a goodness value. (Still too happy for invalid BBMDs, but it's a start.)

This commit is contained in:
tbrennan3
2011-08-22 19:42:07 +00:00
parent e7365ecaa5
commit 5aaf89c64d
3 changed files with 11 additions and 3 deletions
+8 -2
View File
@@ -31,11 +31,17 @@ extern "C" {
void dlenv_init(
void);
void dlenv_register_as_foreign_device(
int dlenv_register_as_foreign_device(
void);
void dlenv_maintenance_timer(
uint16_t elapsed_seconds);
/* Simple setters and getter. */
void set_bbmd_address( long address );
void set_bbmd_port( int port );
void set_bbmd_ttl( int ttl_secs );
int get_bbmd_result( void );
#ifdef __cplusplus
}
#endif /* __cplusplus */