return 0;
}
+int osrfListPushFirst( osrfList* list, void* item ) {
+ if(!(list && item)) return -1;
+ int i;
+ for( i = 0; i < list->size; i++ )
+ if(!list->arrlist[i]) break;
+ osrfListSet( list, item, i );
+ return list->size;
+}
+
void* osrfListSet( osrfList* list, void* item, unsigned int position ) {
if(!list || position < 0) return NULL;
*/
void osrfListSetDefaultFree( osrfList* list );
+/**
+ * Inserts the new item at the first free (null) slot
+ * in the array. Item is shoved onto the end of the
+ * list if there are no null slots */
+int osrfListPushFirst( osrfList* list, void* item );
+
#endif