An application calls ct_cmd_alloc to allocate a command structure. Several command structures can be allocated from the same connection.