From d3ced01b436e12f6d89b53a2966e3776d3dc99aa Mon Sep 17 00:00:00 2001 From: "roberto@sirius" Date: Mon, 3 Jan 2011 20:25:00 +0100 Subject: [PATCH] added struct for uwsgi rpc --- uwsgi.h | 7 +++++++ uwsgi_API.txt | 2 ++ uwsgicc/templates/index.html | 6 +++--- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/uwsgi.h b/uwsgi.h index 74608138..53f54f91 100644 --- a/uwsgi.h +++ b/uwsgi.h @@ -875,6 +875,13 @@ struct uwsgi_server { }; +struct uwsgi_rpc { + char name[0xff]; + void *func; + uint8_t args; + uint8_t modifier; +} + struct uwsgi_lb_group { char name[101]; int kind; diff --git a/uwsgi_API.txt b/uwsgi_API.txt index 0fb8a761..47d6c8e1 100644 --- a/uwsgi_API.txt +++ b/uwsgi_API.txt @@ -51,3 +51,5 @@ sharedarea_readlong sharedarea_writelong sharedarea_inclong register_signal(num, handler) +register_rpc(name, func[,args]) +rpc(node, name[,args,...]) diff --git a/uwsgicc/templates/index.html b/uwsgicc/templates/index.html index 45248223..2cd429ba 100644 --- a/uwsgicc/templates/index.html +++ b/uwsgicc/templates/index.html @@ -186,7 +186,7 @@ a:hover{ -

Logs

+

Logs (size: {{ uwsgi.logsize() }} bytes)

@@ -244,7 +244,7 @@ a:hover{ - +
@@ -269,7 +269,7 @@ a:hover{
- +