osip_list.h (libosip2-5.0.0) | : | osip_list.h (libosip2-5.1.0) | ||
---|---|---|---|---|
skipping to change at line 67 | skipping to change at line 67 | |||
}; | }; | |||
#endif | #endif | |||
/** | /** | |||
* Structure for referencing a list of elements. | * Structure for referencing a list of elements. | |||
* @var osip_list_t | * @var osip_list_t | |||
*/ | */ | |||
typedef struct osip_list osip_list_t; | typedef struct osip_list osip_list_t; | |||
/** | /** | |||
* Structure used to iterate list. | * Structure used to iterate list. | |||
* @var osip_list_iterator_t | * @var osip_list_iterator_t | |||
*/ | */ | |||
typedef struct { | typedef struct osip_list_iterator osip_list_iterator_t; | |||
/** | ||||
* Structure used to iterate list. | ||||
* @struct osip_list_iterator | ||||
*/ | ||||
struct osip_list_iterator { | ||||
__node_t *actual; /**< actual */ | __node_t *actual; /**< actual */ | |||
__node_t **prev; /**< prev */ | __node_t **prev; /**< prev */ | |||
osip_list_t *li; /**< li */ | osip_list_t *li; /**< li */ | |||
int pos; /**< pos */ | int pos; /**< pos */ | |||
} osip_list_iterator_t; | }; | |||
/** | /** | |||
* Structure for referencing a list of elements. | * Structure for referencing a list of elements. | |||
* @struct osip_list | * @struct osip_list | |||
*/ | */ | |||
struct osip_list { | struct osip_list { | |||
int nb_elt; /**< Number of element in the list */ | int nb_elt; /**< Number of element in the list */ | |||
__node_t *node; /**< Next node containing element */ | __node_t *node; /**< Next node containing element */ | |||
End of changes. 2 change blocks. | ||||
5 lines changed or deleted | 11 lines changed or added |