Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    URI Split 1.0 Beta

    Download button

    No screenshots available
    Downloads: 315  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Leonardo Guilherme de Freitas | More programs
    GPL v3 / FREE
    April 26th, 2009, 18:30 GMT [view history]
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    URI Split description

    A library and API that provides a simple and easy way to parse URI

    URI Split is a C library and API that provides a simple and easy way to parse URI and retrive all of its contents.

    With URI Split you don't need to initialize complicated and bloated enviorenments just to separate the host from the port or just to figure out what is the path of a entered uri.

    URI Split does nothing more than split an URI string. It does that by searching the string for key characters like : and / in the URI. Once identified its parts (protocol, hostname, port, etc) URI Split fills in a struct with that information so you can retrieve the URI parts without parsing it again.

    Installing:

    Go to the source directory
    Open the Makefile and check if there's something you'd want to change (mostly the PREFIX variable)
    Open a terminal inside the directory and type:

    make

    Become root with su (or sudo bash) and type:

    make install

    Product's homepage

    What's New in This Release: [ read full changelog ]

    · ABI changed. Function uriget no longer exists. Instead, the struct spluri was made public and the programmer may read its contents directly.

    · The user may set uri fields inside the struct with uriset.

    · A new function is provided, urijoin, that can take the contents of the struct and join them into a single string: you can build the uri field by field using struct spluri and then use urijoin to put it all together.

    · A function to free each poiter created by urisplit or uriset was implemented/provided.

    · More corrections to makefiles.

      


    TAGS:

    URI splitter | URI parser | URI | splitter | parser

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM