overmind 0.1.0-x86_64-freebsd

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/bin/overmind +13 -0
  4. data/lib/overmind/cli.rb +93 -0
  5. data/lib/overmind/version.rb +5 -0
  6. data/lib/overmind.rb +3 -0
  7. data/libexec/overmind +0 -0
  8. data/libexec/prebuilt-tmux/bin/event_rpcgen.py +1925 -0
  9. data/libexec/prebuilt-tmux/bin/tmux +0 -0
  10. data/libexec/prebuilt-tmux/include/evdns.h +45 -0
  11. data/libexec/prebuilt-tmux/include/event.h +83 -0
  12. data/libexec/prebuilt-tmux/include/event2/buffer.h +1077 -0
  13. data/libexec/prebuilt-tmux/include/event2/buffer_compat.h +116 -0
  14. data/libexec/prebuilt-tmux/include/event2/bufferevent.h +1024 -0
  15. data/libexec/prebuilt-tmux/include/event2/bufferevent_compat.h +104 -0
  16. data/libexec/prebuilt-tmux/include/event2/bufferevent_ssl.h +134 -0
  17. data/libexec/prebuilt-tmux/include/event2/bufferevent_struct.h +116 -0
  18. data/libexec/prebuilt-tmux/include/event2/dns.h +751 -0
  19. data/libexec/prebuilt-tmux/include/event2/dns_compat.h +358 -0
  20. data/libexec/prebuilt-tmux/include/event2/dns_struct.h +80 -0
  21. data/libexec/prebuilt-tmux/include/event2/event-config.h +570 -0
  22. data/libexec/prebuilt-tmux/include/event2/event.h +1672 -0
  23. data/libexec/prebuilt-tmux/include/event2/event_compat.h +230 -0
  24. data/libexec/prebuilt-tmux/include/event2/event_struct.h +180 -0
  25. data/libexec/prebuilt-tmux/include/event2/http.h +1192 -0
  26. data/libexec/prebuilt-tmux/include/event2/http_compat.h +94 -0
  27. data/libexec/prebuilt-tmux/include/event2/http_struct.h +152 -0
  28. data/libexec/prebuilt-tmux/include/event2/keyvalq_struct.h +80 -0
  29. data/libexec/prebuilt-tmux/include/event2/listener.h +192 -0
  30. data/libexec/prebuilt-tmux/include/event2/rpc.h +626 -0
  31. data/libexec/prebuilt-tmux/include/event2/rpc_compat.h +61 -0
  32. data/libexec/prebuilt-tmux/include/event2/rpc_struct.h +114 -0
  33. data/libexec/prebuilt-tmux/include/event2/tag.h +146 -0
  34. data/libexec/prebuilt-tmux/include/event2/tag_compat.h +49 -0
  35. data/libexec/prebuilt-tmux/include/event2/thread.h +253 -0
  36. data/libexec/prebuilt-tmux/include/event2/util.h +888 -0
  37. data/libexec/prebuilt-tmux/include/event2/visibility.h +67 -0
  38. data/libexec/prebuilt-tmux/include/evhttp.h +45 -0
  39. data/libexec/prebuilt-tmux/include/evrpc.h +45 -0
  40. data/libexec/prebuilt-tmux/include/evutil.h +39 -0
  41. data/libexec/prebuilt-tmux/include/utf8proc.h +743 -0
  42. data/libexec/prebuilt-tmux/lib/libevent-2.1.7.dylib +0 -0
  43. data/libexec/prebuilt-tmux/lib/libevent.a +0 -0
  44. data/libexec/prebuilt-tmux/lib/libevent.dylib +1 -0
  45. data/libexec/prebuilt-tmux/lib/libevent.la +41 -0
  46. data/libexec/prebuilt-tmux/lib/libevent_core-2.1.7.dylib +0 -0
  47. data/libexec/prebuilt-tmux/lib/libevent_core.a +0 -0
  48. data/libexec/prebuilt-tmux/lib/libevent_core.dylib +1 -0
  49. data/libexec/prebuilt-tmux/lib/libevent_core.la +41 -0
  50. data/libexec/prebuilt-tmux/lib/libevent_extra-2.1.7.dylib +0 -0
  51. data/libexec/prebuilt-tmux/lib/libevent_extra.a +0 -0
  52. data/libexec/prebuilt-tmux/lib/libevent_extra.dylib +1 -0
  53. data/libexec/prebuilt-tmux/lib/libevent_extra.la +41 -0
  54. data/libexec/prebuilt-tmux/lib/libevent_openssl-2.1.7.dylib +0 -0
  55. data/libexec/prebuilt-tmux/lib/libevent_openssl.a +0 -0
  56. data/libexec/prebuilt-tmux/lib/libevent_openssl.dylib +1 -0
  57. data/libexec/prebuilt-tmux/lib/libevent_openssl.la +41 -0
  58. data/libexec/prebuilt-tmux/lib/libevent_pthreads-2.1.7.dylib +0 -0
  59. data/libexec/prebuilt-tmux/lib/libevent_pthreads.a +0 -0
  60. data/libexec/prebuilt-tmux/lib/libevent_pthreads.dylib +1 -0
  61. data/libexec/prebuilt-tmux/lib/libevent_pthreads.la +41 -0
  62. data/libexec/prebuilt-tmux/lib/libutf8proc.3.dylib +0 -0
  63. data/libexec/prebuilt-tmux/lib/libutf8proc.a +0 -0
  64. data/libexec/prebuilt-tmux/lib/libutf8proc.dylib +1 -0
  65. data/libexec/prebuilt-tmux/lib/pkgconfig/libevent.pc +16 -0
  66. data/libexec/prebuilt-tmux/lib/pkgconfig/libevent_core.pc +16 -0
  67. data/libexec/prebuilt-tmux/lib/pkgconfig/libevent_extra.pc +16 -0
  68. data/libexec/prebuilt-tmux/lib/pkgconfig/libevent_openssl.pc +16 -0
  69. data/libexec/prebuilt-tmux/lib/pkgconfig/libevent_pthreads.pc +16 -0
  70. data/libexec/prebuilt-tmux/lib/pkgconfig/libutf8proc.pc +10 -0
  71. data/libexec/prebuilt-tmux/share/man/man1/tmux.1 +7242 -0
  72. data/overmind.gemspec +29 -0
  73. metadata +160 -0
@@ -0,0 +1,116 @@
1
+ /*
2
+ * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson
3
+ *
4
+ * Redistribution and use in source and binary forms, with or without
5
+ * modification, are permitted provided that the following conditions
6
+ * are met:
7
+ * 1. Redistributions of source code must retain the above copyright
8
+ * notice, this list of conditions and the following disclaimer.
9
+ * 2. Redistributions in binary form must reproduce the above copyright
10
+ * notice, this list of conditions and the following disclaimer in the
11
+ * documentation and/or other materials provided with the distribution.
12
+ * 3. The name of the author may not be used to endorse or promote products
13
+ * derived from this software without specific prior written permission.
14
+ *
15
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
16
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25
+ */
26
+
27
+ #ifndef EVENT2_BUFFER_COMPAT_H_INCLUDED_
28
+ #define EVENT2_BUFFER_COMPAT_H_INCLUDED_
29
+
30
+ #include <event2/visibility.h>
31
+
32
+ /** @file event2/buffer_compat.h
33
+
34
+ Obsolete and deprecated versions of the functions in buffer.h: provided
35
+ only for backward compatibility.
36
+ */
37
+
38
+
39
+ /**
40
+ Obsolete alias for evbuffer_readln(buffer, NULL, EVBUFFER_EOL_ANY).
41
+
42
+ @deprecated This function is deprecated because its behavior is not correct
43
+ for almost any protocol, and also because it's wholly subsumed by
44
+ evbuffer_readln().
45
+
46
+ @param buffer the evbuffer to read from
47
+ @return pointer to a single line, or NULL if an error occurred
48
+
49
+ */
50
+ EVENT2_EXPORT_SYMBOL
51
+ char *evbuffer_readline(struct evbuffer *buffer);
52
+
53
+ /** Type definition for a callback that is invoked whenever data is added or
54
+ removed from an evbuffer.
55
+
56
+ An evbuffer may have one or more callbacks set at a time. The order
57
+ in which they are executed is undefined.
58
+
59
+ A callback function may add more callbacks, or remove itself from the
60
+ list of callbacks, or add or remove data from the buffer. It may not
61
+ remove another callback from the list.
62
+
63
+ If a callback adds or removes data from the buffer or from another
64
+ buffer, this can cause a recursive invocation of your callback or
65
+ other callbacks. If you ask for an infinite loop, you might just get
66
+ one: watch out!
67
+
68
+ @param buffer the buffer whose size has changed
69
+ @param old_len the previous length of the buffer
70
+ @param new_len the current length of the buffer
71
+ @param arg a pointer to user data
72
+ */
73
+ typedef void (*evbuffer_cb)(struct evbuffer *buffer, size_t old_len, size_t new_len, void *arg);
74
+
75
+ /**
76
+ Replace all callbacks on an evbuffer with a single new callback, or
77
+ remove them.
78
+
79
+ Subsequent calls to evbuffer_setcb() replace callbacks set by previous
80
+ calls. Setting the callback to NULL removes any previously set callback.
81
+
82
+ @deprecated This function is deprecated because it clears all previous
83
+ callbacks set on the evbuffer, which can cause confusing behavior if
84
+ multiple parts of the code all want to add their own callbacks on a
85
+ buffer. Instead, use evbuffer_add(), evbuffer_del(), and
86
+ evbuffer_setflags() to manage your own evbuffer callbacks without
87
+ interfering with callbacks set by others.
88
+
89
+ @param buffer the evbuffer to be monitored
90
+ @param cb the callback function to invoke when the evbuffer is modified,
91
+ or NULL to remove all callbacks.
92
+ @param cbarg an argument to be provided to the callback function
93
+ @return 0 if successful, or -1 on error
94
+ */
95
+ EVENT2_EXPORT_SYMBOL
96
+ int evbuffer_setcb(struct evbuffer *buffer, evbuffer_cb cb, void *cbarg);
97
+
98
+
99
+ /**
100
+ Find a string within an evbuffer.
101
+
102
+ @param buffer the evbuffer to be searched
103
+ @param what the string to be searched for
104
+ @param len the length of the search string
105
+ @return a pointer to the beginning of the search string, or NULL if the search failed.
106
+ */
107
+ EVENT2_EXPORT_SYMBOL
108
+ unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len);
109
+
110
+ /** deprecated in favor of calling the functions directly */
111
+ #define EVBUFFER_LENGTH(x) evbuffer_get_length(x)
112
+ /** deprecated in favor of calling the functions directly */
113
+ #define EVBUFFER_DATA(x) evbuffer_pullup((x), -1)
114
+
115
+ #endif
116
+