Diff for /libaitio/inc/aitio.h between versions 1.5.2.3 and 1.6.4.1

version 1.5.2.3, 2011/02/10 19:34:52 version 1.6.4.1, 2011/03/16 16:59:33
Line 10 Line 10
 #define __AITIO_H  #define __AITIO_H
   
   
   #include <openssl/evp.h>
   
   
 typedef struct _tagURLItem {  typedef struct _tagURLItem {
         int     vallen;          int     vallen;
         char    *value;          char    *value;
Line 99  char *ioRegexReplace(const char *csRegex, const char * Line 102  char *ioRegexReplace(const char *csRegex, const char *
 /*  /*
  * ioVarAst() Function for evaluate string like asterisk variable "{text[:[-]#[:#]]}"   * ioVarAst() Function for evaluate string like asterisk variable "{text[:[-]#[:#]]}"
  * @csString = Input string   * @csString = Input string
  * @strLen = String length  
  * return: NULL error, !=NULL Allocated new string evaluated from input string, must be free()   * return: NULL error, !=NULL Allocated new string evaluated from input string, must be free()
 */  */
char *ioVarAst(const char *csString, int strLen);char *ioVarAst(const char *csString);
   
 /*  /*
  * io_Path2File() Parse and make path/filename pair   * io_Path2File() Parse and make path/filename pair
Line 229  int ioXMLGet(const char *csXML, struct tagReqXML *xml) Line 231  int ioXMLGet(const char *csXML, struct tagReqXML *xml)
 */  */
 int ioMkDir(const char *csDir, int mode);  int ioMkDir(const char *csDir, int mode);
   
   /*
    * ioWatchDirLoop() Function for watching changes in directory and fire callback
    * @csDir = Full directory path
    * @callback = Callback if raise event! nOp -1 delete, 0 change/move, 1 create
    * return: -1 error, !=-1 ok, number of total signaled events
   */
   int ioWatchDirLoop(const char *csDir, int (*callback)(const char *csName, int nOp));
   
   
 /*  /*
  * io_rread() Raw VFS read function   * io_rread() Raw VFS read function
  * @fd = File handle   * @fd = File handle
Line 289  extern int io_Debug; Line 299  extern int io_Debug;
                                                                 __func__, __LINE__, ait##_GetErrno(), \                                                                  __func__, __LINE__, ait##_GetErrno(), \
                                                                 ait##_GetError()); \                                                                  ait##_GetError()); \
                                 } while (0)                                  } while (0)
   
   
   /* Crypto framework */
   
   /*
    * ioCipher() Cipher wrapper for all supported crypto algorythms
    * @pInput = input buffer
    * @inLen = input buffer len
    * @ppOutput = output allocated buffe, must be free after use
    * @Cipher = cipher engine, like EVP_bf_cbc() or etc...
    * @pKey = key
    * @pIV = IV, salt (8 bytes)
    * @nMode = Mode 0 - decrypting or 1 - encrypting
    * return: 0 not present data or error!; >0 number of processed and returned bytes into ppOutput
   */
   int ioCipher(unsigned char *pInput, int inLen, unsigned char **ppOutput, const EVP_CIPHER *Cipher, 
                   unsigned char *pKey, unsigned char *pIV, int nMode);
   
   /*
    * io_Blowfish() Blowfish cipher algorythm, work with ASCII hex strings
    * @pInput = input buffer
    * @inLen = input buffer len
    * @ppOutput = output allocated buffe, must be free after use
    * @pKey = key
    * @pIV = IV, salt (8 bytes)
    * @nMode = Mode 0 - decrypting or 1 - encrypting
    * return: 0 not present data or error!; >0 number of processed and returned bytes into ppOutput
   */
   int io_Blowfish(u_char *pInput, int inLen, u_char **ppOutput, u_char *pKey, u_char *pIV, int nMode);
   
   
 #endif  #endif

Removed from v.1.5.2.3  
changed lines
  Added in v.1.6.4.1


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>