Changeset de8c420b for lib/libtrace.h


Ignore:
Timestamp:
09/07/05 16:13:48 (15 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
5bbe424
Parents:
084d95a
Message:

Placed uri splitting code into its own function and made that function available for external use

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace.h

    r084d95a rde8c420b  
    585585int8_t trace_get_server_port(uint8_t protocol, uint16_t source, uint16_t dest);
    586586
     587/** Takes a uri and splits it into a format and uridata component.
     588 * Primarily for internal use but made available for external use.
     589 * @param uri           the uri to be parsed
     590 * @param format        destination location for the format component of the uri
     591 * @returns 0 if an error occured, otherwise returns the uridata component
     592 * @author Shane Alcock
     593 */
     594char *trace_parse_uri(char *uri, char **format);
    587595#ifdef __cplusplus
    588596} // extern "C"
Note: See TracChangeset for help on using the changeset viewer.