VortexMimeHeader * vortex_frame_mime_header_next ( VortexMimeHeader header  ) 

Provided a reference to a MIME header VortexMimeHeader, the function allows to get the next MIME header found on the VortexFrame.

Example: assuming you want to traverse all "Received" MIME header use:

 // get first header 
 VortexMimeHeader * header = vortex_frame_get_mime_header (frame, "Received");
 
 // foreach header found 
 do {
      printf ("MIME Header found %s : %s\n", 
              vortex_frame_mime_header_name (header),
              vortex_frame_mime_header_content (header));

      // get next header 
      header = vortex_frame_mime_header_next (header);
 } while (header != NULL);

Parameters:
header The header where the operation will be performed.
Returns:
A reference to the next MIME header or NULL if it fails. The function can only fail if the header reference received is NULL.