this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add some qtn_proc dummies in libquarantine

+35
+28
src/quarantine/quarantine.c
··· 115 115 { 116 116 return QTN_NOT_QUARANTINED; 117 117 } 118 + 119 + struct _qtn_proc_t 120 + { 121 + int dummy; 122 + }; 123 + 124 + qtn_proc_t qtn_proc_alloc(void) 125 + { 126 + return (qtn_proc_t) malloc(sizeof(qtn_proc_t)); 127 + } 128 + 129 + void qtn_proc_set_identifier(qtn_proc_t proc, const char* ident) 130 + { 131 + } 132 + 133 + void qtn_proc_set_flags(qtn_proc_t proc, unsigned int flags) 134 + { 135 + } 136 + 137 + void qtn_proc_apply_to_self(qtn_proc_t proc) 138 + { 139 + } 140 + 141 + void qtn_proc_free(qtn_proc_t proc) 142 + { 143 + free(proc); 144 + } 145 +
+7
src/quarantine/quarantine.h
··· 53 53 extern int __esp_check_ns(const char *a, void *b); 54 54 extern int __esp_notify_ns(const char *a, void *b); 55 55 56 + typedef struct _qtn_proc_t* qtn_proc_t; 57 + qtn_proc_t qtn_proc_alloc(void); 58 + void qtn_proc_set_identifier(qtn_proc_t proc, const char* ident); 59 + void qtn_proc_set_flags(qtn_proc_t proc, unsigned int flags); 60 + void qtn_proc_apply_to_self(qtn_proc_t proc); 61 + void qtn_proc_free(qtn_proc_t proc); 62 + 56 63 #define QTN_SERIALIZED_DATA_MAX 4096 57 64 58 65 #define qtn_file_alloc _qtn_file_alloc