Changeset 183 for trunk/src/slib.c


Ignore:
Timestamp:
Oct 26, 2008, 12:59:48 PM (16 years ago)
Author:
katerina
Message:

Support for logfile monitoring (ticket #122). Also improved some configure error messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/slib.c

    r174 r183  
    26522652static struct sl_trustfile_store * sl_trusted_files = NULL;
    26532653
    2654 void sl_add_trusted_file(char * filename, uid_t teuid)
     2654static void sl_add_trusted_file(const char * filename, uid_t teuid)
    26552655{
    26562656  struct sl_trustfile_store *new = SH_ALLOC(sizeof(struct sl_trustfile_store));
     
    26642664}
    26652665
    2666 char * sl_check_trusted_file(char * filename, uid_t teuid)
     2666static const char * sl_check_trusted_file(const char * filename, uid_t teuid)
    26672667{
    26682668  struct sl_trustfile_store *new = sl_trusted_files;
     
    26782678}
    26792679
    2680 void sl_clear_trusted_file(struct sl_trustfile_store * file)
     2680static void sl_clear_trusted_file(struct sl_trustfile_store * file)
    26812681{
    26822682  if (file)
     
    26902690}
    26912691
    2692 int sl_trustfile_euid(char * filename, uid_t teuid)
     2692int sl_trustfile_euid(const char * filename, uid_t teuid)
    26932693{
    26942694  long          status;
Note: See TracChangeset for help on using the changeset viewer.