VirtualBox

Changeset 3860 in vbox for trunk/include


Ignore:
Timestamp:
Jul 26, 2007 9:13:25 AM (18 years ago)
Author:
vboxsync
Message:

introduced some generic IPRT functions for requesting several pathes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/path.h

    r3636 r3860  
    313313
    314314/**
    315  * Gets the directory for architecture-independent shared data.
    316  * Unix:    /usr/share/<application>
    317  * Windows: <program files directory>/<application>
     315 * Gets the directory of shared libraries. This is not the same as
     316 * RTPathAppPrivateArch() as Linux depends all shared libraries in
     317 * a common global directory where ld.so can found them.
     318 *
     319 * Linux:    /usr/lib
     320 * Windows:  <program files directory>/<application>
     321 * Old path: same as RTPathProgram()
    318322 *
    319323 * @returns iprt status code.
     
    321325 * @param   cchPath     Buffer size in bytes.
    322326 */
    323 RTDECL(int) RTPathAppShared(char *pszPath, unsigned cchPath);
    324 
    325 /**
    326  * Gets the directory for architecture-dependent shared data.
    327  * Unix:    /usr/lib/<application>.
    328  * Windows: same as RTPathAppShared()
     327RTDECL(int) RTPathSharedLibs(char *pszPath, unsigned cchPath);
     328
     329/**
     330 * Gets the directory for architecture-independent application data, for
     331 * example NLS files, module sources, ...
     332 *
     333 * Linux:    /usr/shared/<application>
     334 * Windows:  <program files directory>/<application>
     335 * Old path: same as RTPathProgram()
    329336 *
    330337 * @returns iprt status code.
     
    332339 * @param   cchPath     Buffer size in bytes.
    333340 */
    334 RTDECL(int) RTPathAppSharedArch(char *pszPath, unsigned cchPath);
    335 
    336 /**
    337  * Gets the directory for documentation.
    338  * Unix:    /usr/share/doc/<application>.
    339  * Windows: same as RTPathAppShared()
     341RTDECL(int) RTPathAppPrivateNoArch(char *pszPath, unsigned cchPath);
     342
     343/**
     344 * Gets the directory for architecture-dependent application data, for
     345 * example modules which can be loaded at runtime.
     346 *
     347 * Linux:    /usr/lib/<application>
     348 * Windows:  <program files directory>/<application>
     349 * Old path: same as RTPathProgram()
    340350 *
    341351 * @returns iprt status code.
     
    343353 * @param   cchPath     Buffer size in bytes.
    344354 */
    345 RTDECL(int) RTPathAppDoc(char *pszPath, unsigned cchPath);
     355RTDECL(int) RTPathAppPrivateArch(char *pszPath, unsigned cchPath);
     356
     357/**
     358 * Gets the directory for documentation.
     359 *
     360 * Linux:    /usr/share/doc/<application>
     361 * Windows:  <program files directory>/<application>
     362 * Old path: same as RTPathProgram()
     363 *
     364 * @returns iprt status code.
     365 * @param   pszPath     Buffer where to store the path.
     366 * @param   cchPath     Buffer size in bytes.
     367 */
     368RTDECL(int) RTPathAppDocs(char *pszPath, unsigned cchPath);
    346369
    347370/**
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette