about summary refs log tree commit diff stats
path: root/src/resource.h
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-02-10 17:27:08 +0000
committerJames Booth <boothj5@gmail.com>2013-02-10 17:27:08 +0000
commit1a6490a5b761087ad00d63dfa59d737318b0ceeb (patch)
treec0ddcfd7690782500a55b2297e6d557e54325657 /src/resource.h
parente922568770532e6fda63bf1865832fc7fd7f00ee (diff)
downloadprofani-tty-1a6490a5b761087ad00d63dfa59d737318b0ceeb.tar.gz
Use resource_presence_t in Resource
Diffstat (limited to 'src/resource.h')
-rw-r--r--src/resource.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resource.h b/src/resource.h
index 491b33cc..d69101f7 100644
--- a/src/resource.h
+++ b/src/resource.h
@@ -25,13 +25,13 @@
 
 typedef struct resource_t {
     char *name;
-    char *show;
+    resource_presence_t presence;
     char *status;
     int priority;
     char *caps_str;
 } Resource;
 
-Resource * resource_new(const char * const name, const char * const show,
+Resource * resource_new(const char * const name, resource_presence_t presence,
     const char * const status, const int priority, const char * const caps_str);
 void resource_destroy(Resource *resource);