]> git.lizzy.rs Git - bspwm.git/blobdiff - subscribe.h
Be verbose regarding broken connections
[bspwm.git] / subscribe.h
index 767a138499008384c7058855a25b07635cef3469..9bb2f4e7da112fc159e6a94bc01475f6c831a0a3 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2012-2014, Bastien Dejean
+/* Copyright (c) 2012, Bastien Dejean
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * The views and conclusions contained in the software and documentation are those
- * of the authors and should not be interpreted as representing official policies,
- * either expressed or implied, of the FreeBSD Project.
  */
 
 #ifndef BSPWM_SUBSCRIBE_H
 #define BSPWM_SUBSCRIBE_H
 
-subscriber_list_t *make_subscriber_list(int fd);
+subscriber_list_t *make_subscriber_list(FILE *stream);
 void remove_subscriber(subscriber_list_t *sb);
-void add_subscriber(int fd);
-void feed_subscriber(subscriber_list_t *sb);
+void add_subscriber(FILE *stream);
+int print_status(FILE *stream);
 
 #endif