Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[Q] Binary and compressed RIB option support?

Help
2007-08-16
2013-04-25
  • Nicholas Yue
    Nicholas Yue
    2007-08-16

    Hi,

      While trying out the binary and compressed rib option, compression seems to have no effect and binary is not understood as a format option.

      Can anyone confirm that is the case or I might have some bad code call the RIB client library.

    Regards

     
    • George Harker
      George Harker
      2007-08-17

      Hi Nicholas,

      We support compressed rib, but not binary right now.

      It's not exceptionally hard to implement the reader (writer needs a tiny bit more work).  It's just something we never got round to .

      To initiate compressed output, you must call

      RtToken toks[] = {RI_COMPRESSION};
      char *ptr = "gzip";
      RtPointer vals[] = {&ptr};
      RiOptionV(RI_RIB,1,toks,vals);

      Before RiBegin()... The RiOption version will not work.

      cheers

      George