about summary refs log tree commit diff stats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index d71c7930..06c25aaa 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -10,6 +10,7 @@ profanity_SOURCES = src/command.c src/contact.c src/command_history.c \
 	src/xmpp/xmpp.h src/xmpp/capabilities.c src/xmpp/connection.c \
 	src/xmpp/iq.c src/xmpp/message.c src/xmpp/presence.c src/xmpp/stanza.c \
 	src/xmpp/stanza.h src/xmpp/message.h src/xmpp/iq.h src/xmpp/presence.h \
+	src/xmpp/capabilities.h \
 	src/ui/ui.h src/ui/window.c src/ui/window.h src/ui/windows.c \
 	src/ui/titlebar.c src/ui/statusbar.c src/ui/inputwin.c
 
us revision' href='/akkartik/mu/blame/http-client.mu?h=hlt&id=6c96a437cef5140197660a0903309f11c364bf78'>^
f24eeaab ^
e78ff7b0 ^
f24eeaab ^

e78ff7b0 ^
f24eeaab ^





1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

                                          

             
                                                                                    
                 
                               


                                     
                 
                        

        
                                    





                             
# example program: reading a URL over HTTP

def main [
  local-scope
  google:&:source:char <- start-reading-from-network 0/real-resources, [google.com/]
  n:num <- copy 0
  buf:&:buffer <- new-buffer 30
  {
    c:char, done?:bool <- read google
    break-if done?
    n <- add n, 1
    buf <- append buf, c
    loop
  }
  result:text <- buffer-to-array buf
  open-console
  len:num <- length *result
  print 0/real-screen, result
  wait-for-some-interaction
  close-console
]