Using C client to pack lists