SilcBool silc_packet_get_ids(SilcPacketStream stream, SilcBool *src_id_set, SilcID *src_id, SilcBool *dst_id_set, SilcID *dst_id);
Returns source and destination IDs from the packet stream. The `src_id_set' is set to TRUE if the source ID was returned. The `dst_id_set' is set to TRUE if the destination ID was returned.