summaryrefslogtreecommitdiff
path: root/cp2/sta/data/net_list.h
diff options
context:
space:
mode:
authorsave2008-04-07 14:17:42 +0000
committersave2008-04-07 14:17:42 +0000
commit3d58a62727346b7ac1a6cb36fed1a06ed72228dd (patch)
treed7788c3cf9f76426aef0286d0202e2097f0fa0eb /cp2/sta/data/net_list.h
parent095dca4b0a8d4924093bab424f71f588fdd84613 (diff)
Moved the complete svn base into the cesar directory.
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@1769 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cp2/sta/data/net_list.h')
-rw-r--r--cp2/sta/data/net_list.h83
1 files changed, 0 insertions, 83 deletions
diff --git a/cp2/sta/data/net_list.h b/cp2/sta/data/net_list.h
deleted file mode 100644
index 52f1ff1d8e..0000000000
--- a/cp2/sta/data/net_list.h
+++ /dev/null
@@ -1,83 +0,0 @@
-#ifndef cp2_sta_data_net_list_h
-#define cp2_sta_data_net_list_h
-/* Cesar project {{{
- *
- * Copyright (C) 2008 Spidcom
- *
- * <<<Licence>>>
- *
- * }}} */
-/**
- * \file cp2/sta/data/net_list.h
- * \brief CP Net list managing an AVLN.
- * \ingroup cp_sta_data
- *
- * The Network list data for one AVLN.
- */
-
-#include "cp2/sta/data/sta_list.h"
-
-struct cp_net_list_t
-{
- /** Short Network ID. */
- u16 snid;
- /** Network ID. */
- u64 nid;
- /** Network Membership Key. */
- uint nmk;
- /** Network password. */
- u128 npw;
- /** Network present. */
- bool present;
- /** CCo in the AVLN. */
- cp_sta_t cco;
- /** PCo in the AVLN. */
- cp_sta_t pco;
-};
-typedef struct cp_net_list_t cp_net_list_t;
-
-/** Add a sta to this AVLN.
- * \param net_list the net list to add the sta.
- * \param sta the sta to add.
- */
-void
-cp_net_list_add_sta(cp_net_list_t *net_list, cp_sta_t *sta);
-
-/** Remove a station from the AVLN.
- * \param net_list the list to remove ths sta.
- * \param the sta to remove.
- */
-void
-cp_net_list_remove_sta(cp_net_list_t *net_list, cp_sta_t *sta);
-
-/** Remove the sta by providing the STA's tei from this AVLN.
- * \param net_list the net_list from the one the sta shall be removed.
- * \param tei the station's tei.
- */
-void
-cp_net_list_remove_sta_from_tei(cp_net_list_t *net_list, u8 tei);
-
-/** Get the station from the AVLN.
- * \param net_list the net_list to get the station.
- * \param tei the tei of the station.
- * \return the station if it is in the AVLN, NULL otherwise.
- */
-cp_sta_t *
-cp_net_list_get_sta(cp_net_list_t *net_list, u8 tei);
-
-/** Get the first station of the AVLN.
- * \param net_list the AVLN list to get it's first sta.
- * \return the first station if the AVLN has one.
- */
-cp_sta_t *
-cp_net_list_first_sta(cp_net_list_t *net_list);
-
-/** Get the next station from the AVLN.
- * \param net_list the AVLN net list.
- * \param sta the current station to get the next one.
- * \return the next station of the one provided.
- */
-cp_sta_t *
-cp_sta_t cp_net_list_next_sta(cp_net_list_t *net_list, cp_sta_t *sta);
-
-#endif /* cp2_sta_data_net_list_h */