~ubuntu-branches/debian/jessie/smstools/jessie

« back to all changes in this revision

Viewing changes to src/extras.h

  • Committer: Bazaar Package Importer
  • Author(s): Jan Wagner
  • Date: 2010-06-21 10:19:52 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20100621101952-pz5h5zctan8vumbi
Tags: 3.1.10-0.1
* Non-maintainer upload, as requested by maintainer
* New Upstream version (Closes: #586643)
* Bump Standards to 3.8.4, no changes needed
* Define source format 1.0 in debian/source/format
* Add $remote_fs as dependency for Required-Start and Required-Stop in the
  init script, removed $local_fs, which is implicit

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
   there is no file. Filename is the filename including the path. 
60
60
   Additionally it cheks if the file grows at the moment to prevent
61
61
   that two programs acces the file at the same time. */
62
 
int getfile(char* dir, char* filename);
 
62
int getfile(int trust_directory, char* dir, char* filename, int lock);
63
63
 
64
64
/* Replacement for system() wich can be breaked. See man page of system() */
65
65
int my_system(char *command, char *info);
89
89
 
90
90
unsigned long long time_usec();
91
91
 
 
92
int make_datetime_string(char *dest, size_t dest_size, char *a_date, char *a_time, char *a_format);
 
93
 
 
94
void strcat_realloc(char **buffer, char *str, char *delimiter);
 
95
 
92
96
#endif