Changeset 415 for trunk/include


Ignore:
Timestamp:
Nov 1, 2012, 7:45:54 AM (12 years ago)
Author:
katerina
Message:

Fixes for tickets #314, #315, #316, #317, #318, #319, #320, and #321.

Location:
trunk/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/samhain.h

    r412 r415  
    125125#define UINT32 unsigned short
    126126#define SINT32 short
     127#else
     128#error "No 32 bit integer type found"
    127129#endif
    128130
  • trunk/include/sh_extern.h

    r294 r415  
    11#ifndef SH_EXTERN_H
    22#define SH_EXTERN_H
     3
     4#include <stdarg.h>
    35
    46typedef struct
     
    4042 *    executes shell command
    4143 */
    42 int sh_ext_popen_init (sh_tas_t * task, char * command);
     44int sh_ext_popen_init (sh_tas_t * task, char * command, char * argv0, ...) SH_GNUC_SENTINEL;
    4345
    4446/*
    4547 * -- Execute command, return first line of output
    4648 */
    47 int sh_ext_system (char * command);
     49int sh_ext_system (char * command, char * argv0, ...) SH_GNUC_SENTINEL;
    4850
    4951/*
  • trunk/include/sh_files.h

    r373 r415  
    2222
    2323void sh_audit_mark (const char * file);
     24void sh_audit_commit ();
    2425void sh_audit_delete_all ();
    2526char * sh_audit_fetch (char * file, time_t time, char * result, size_t rsize);
Note: See TracChangeset for help on using the changeset viewer.