23 |
#ifndef AR_UTIL_H |
#ifndef AR_UTIL_H |
24 |
#define AR_UTIL_H |
#define AR_UTIL_H |
25 |
|
|
|
#include <stdlib.h> |
|
|
#include <stdio.h> |
|
|
#include <string.h> |
|
|
#include <sys/types.h> |
|
|
#include <sys/stat.h> |
|
|
#include <unistd.h> |
|
|
#include <errno.h> |
|
|
#include <assert.h> |
|
|
|
|
26 |
/* This is a function that launches a command and returns the output. |
/* This is a function that launches a command and returns the output. |
27 |
Make sure that you free the returned string when finished. */ |
Make sure that you free the returned string when finished. */ |
28 |
char* |
char* |
42 |
void * |
void * |
43 |
xmalloc(size_t size); |
xmalloc(size_t size); |
44 |
|
|
45 |
int |
char * |
46 |
antiright_system(char *field_string); |
antiright_get_file_extension(char *filename); |
47 |
|
|
48 |
/* Free the returned value! */ |
/* This exits the program. */ |
49 |
char* |
void |
50 |
antiright_beautified_label(char* current_argument_string); |
antiright_exit_cb(); |
51 |
|
|
52 |
|
/* This is used to close and destroy dialogs. */ |
53 |
|
void |
54 |
|
antiright_close_cb(Widget widget, |
55 |
|
XtPointer client_data, |
56 |
|
XtPointer call_data); |
57 |
|
|
58 |
#endif /* AR_UTIL_H */ |
#endif /* AR_UTIL_H */ |