IllegalCharInDevice,EmptyDeviceName,IllegalCharInMailAddr,SuspectNat,
NoInfoInDb,IllegalUserId,IllegalMacAddr,NoService,
NoDaemon,ModifyCountOver,RegisterSuccess,UpdateSuccess,IllegalCookie,
- NotSetAdminCookie,RequestAdminAuth,UnallowableAgent,
+ NotSetAdminCookie,RequestAdminAuth,UnallowableAgent,MacBelongToOther,
ENDOFLIST};
/**********prototypes***************************************/
int RenameMailAddressInMngDb(char* macAddr, char* mailStr);
int RegOrUpNobodyMacAddr(char* macAddress);
int IsMacAddrStatusInactiveInMngDb(char* macAddress);
+int DoesMacAddrBelongToUser(char* macAddr, char* userId, char* extraId);
/* workdb.c */
int SetupSqliteBusyTimeoutValue(void);