added qse_clearnwad()

enhanced qse_getnwifcfg() a bit.
added uci::adddeltapath.
This commit is contained in:
2012-11-19 14:32:38 +00:00
parent c65caeed9d
commit 1157af0b8a
5 changed files with 136 additions and 66 deletions

View File

@ -95,6 +95,15 @@ int qse_nwadequal (
const qse_nwad_t* y
);
/**
* The qse_clearnwad() function zeros out the address
* for the address @a type.
*/
void qse_clearnwad (
qse_nwad_t* nwad,
qse_nwad_type_t type
);
int qse_mbstonwad (
const qse_mchar_t* mbs,
qse_nwad_t* nwad

View File

@ -37,8 +37,8 @@ enum qse_nwifcfg_flag_t
enum qse_nwifcfg_type_t
{
QSE_NWIFCFG_IN4,
QSE_NWIFCFG_IN6
QSE_NWIFCFG_IN4 = QSE_NWAD_IN4,
QSE_NWIFCFG_IN6 = QSE_NWAD_IN6
};
typedef enum qse_nwifcfg_type_t qse_nwifcfg_type_t;