diff options
| author | Jean Tourrilhes <jt@hpl.hp.com> | 2002-09-18 10:49:02 -0400 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@mandrakesoft.com> | 2002-09-18 10:49:02 -0400 |
| commit | 57dd59ee67f9462d558ae15d054e2783fbc01aeb (patch) | |
| tree | 1cb4acfd47aac88174c0dac772fdbee20e1c8730 /include/net/irda/irqueue.h | |
| parent | 5f761bd3d04f12d0cf163544b8ef09677a0b0c2e (diff) | |
irda update 1/6:
o [CRITICA] Remove correct IAS Attribute/Object even if name is dup'ed
o [CORRECT] Make irqueue 64 bit compliant (__u32 -> long)
o [FEATURE] Don't use random handle for IrLMP handle, use self
Remove dependancy on random generator in stack init
Diffstat (limited to 'include/net/irda/irqueue.h')
| -rw-r--r-- | include/net/irda/irqueue.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/net/irda/irqueue.h b/include/net/irda/irqueue.h index 6394397ac887..4b9f8bd2b180 100644 --- a/include/net/irda/irqueue.h +++ b/include/net/irda/irqueue.h @@ -67,7 +67,7 @@ struct irda_queue { struct irda_queue *q_prev; char q_name[NAME_SIZE]; - __u32 q_hash; + long q_hash; /* Must be able to cast a (void *) */ }; typedef struct irda_queue irda_queue_t; @@ -84,10 +84,10 @@ typedef struct hashbin_t { hashbin_t *hashbin_new(int type); int hashbin_delete(hashbin_t* hashbin, FREE_FUNC func); int hashbin_clear(hashbin_t* hashbin, FREE_FUNC free_func); -void hashbin_insert(hashbin_t* hashbin, irda_queue_t* entry, __u32 hashv, +void hashbin_insert(hashbin_t* hashbin, irda_queue_t* entry, long hashv, char* name); -void* hashbin_find(hashbin_t* hashbin, __u32 hashv, char* name); -void* hashbin_remove(hashbin_t* hashbin, __u32 hashv, char* name); +void* hashbin_find(hashbin_t* hashbin, long hashv, char* name); +void* hashbin_remove(hashbin_t* hashbin, long hashv, char* name); void* hashbin_remove_first(hashbin_t *hashbin); void* hashbin_remove_this( hashbin_t* hashbin, irda_queue_t* entry); irda_queue_t *hashbin_get_first(hashbin_t *hashbin); |
