-ListRule *_OS_AddListRule(ListRule *new_listrule)
-{
-
- if(global_listrule == NULL)
- {
- global_listrule = new_listrule;
- }
- else
- {
- ListRule *last_list_rule = global_listrule;
- while(last_list_rule->next != NULL)
- {
- last_list_rule = last_list_rule->next;
- }
- last_list_rule->next = new_listrule;
- }
- return(global_listrule);
-}
-
-
-
-/* Add a list in the chain */
-ListNode *_OS_AddList(ListNode *new_listnode)