From 66f2b28ef4ec640286116f4752c19557239f75a9 Mon Sep 17 00:00:00 2001 From: Valery Febvre Date: Mon, 19 Apr 2004 15:22:15 +0000 Subject: *** empty log message *** --- docs/reference/Makefile.am | 52 +++++++++------- docs/reference/lasso.sgml | 144 ++++++++++++++++++++++++++++++--------------- docs/reference/lasso.types | 34 +++++------ 3 files changed, 145 insertions(+), 85 deletions(-) (limited to 'docs') diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am index 0468b52d..1a59ed3b 100644 --- a/docs/reference/Makefile.am +++ b/docs/reference/Makefile.am @@ -1,9 +1,10 @@ NULL= TOP=$(top_srcdir) MODULE=lasso +DOC_MAIN_SGML_FILE=$(MODULE).sgml SOURCE_DIR=$(TOP)/lasso INCLUDE_DIR=$(TOP)/lasso -SGML_CATALOG_FILES=/usr/share/sgml/docbook/sgml-dtd-3.0-1.0-8/catalog:/usr/share/sgml/openjade-1.3.1/catalog:/usr/share/sgml/docbook/dsssl-stylesheets/catalog +##SGML_CATALOG_FILES=/usr/share/sgml/docbook/sgml-dtd-3.0-1.0-8/catalog:/usr/share/sgml/openjade-1.3.1/catalog:/usr/share/sgml/docbook/dsssl-stylesheets/catalog EXTRA_DIST = \ chapters \ @@ -19,21 +20,24 @@ SCANOBJ_OPTIONS= # DOC_SOURCE_DIR=./code DOC_SOURCE_FILES=\ - $(shell find $(SOURCE_DIR) -name '*.c' -print ) \ - $(shell find $(INCLUDE_DIR) -name '*.h' -print ) + $(shell find $(SOURCE_DIR) -name '*.c' -print ) \ + $(shell find $(INCLUDE_DIR) -name '*.h' -print ) # do nothing for all all: -docs: sgml html clean-sources +#docs: sgml html clean-sources +docs: sgml html -html: sgml lasso.sgml lasso-index - gtkdoc-mkhtml lasso lasso.sgml +html: sgml $(DOC_MAIN_SGML_FILE) lasso-index + @echo '*** Building HTML ***' + test -d $(srcdir)/html || mkdir $(srcdir)/html + cd $(srcdir)/html && gtkdoc-mkhtml $(MODULE) ../$(DOC_MAIN_SGML_FILE) -SCANOBJ_FILES = \ +SCANOBJ_FILES = \ $(MODULE).hierarchy \ - $(MODULE).signals \ - $(MODULE).interfaces \ + $(MODULE).signals \ + $(MODULE).interfaces \ $(MODULE).prerequisites \ $(MODULE).args @@ -44,9 +48,10 @@ SCANOBJ_FILES = \ # targets to make more references # sgml: templates + @echo '*** Building SGML ***' -@gtkdoc-mkdb --module=lasso \ - --main-sgml-file=lasso.sgml \ - --source-dir=$(DOC_SOURCE_DIR)/lasso/base + --main-sgml-file=$(DOC_MAIN_SGML_FILE) \ + --source-dir=$(DOC_SOURCE_DIR)/lasso -@(for i in `find sgml -name "*.sgml" -print` ; do \ cat $$i | \ sed 's!\(<dsig:\)\([^/]*\)\(\/>\)!\1\2\3!g' | \ @@ -57,7 +62,8 @@ sgml: templates done); templates: scan - -@gtkdoc-mktmpl --module=lasso + @echo '*** Building TMPL ***' + -@gtkdoc-mktmpl --module=$(MODULE) # CFLAGS and LDFLAGS for compiling scan program. GTKDOC_CFLAGS = \ @@ -78,24 +84,27 @@ GTKDOC_CC=$(LIBTOOL) --mode=compile $(CC) GTKDOC_LD=$(LIBTOOL) --mode=link $(CC) scan: doc_sources + @echo '*** Scan sources ***' if grep -l '^..*$$' $(MODULE).types > /dev/null ; then \ - CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" gtkdoc-scangobj $(SCANOBJ_OPTIONS) --module=$(MODULE) --output-dir=$(srcdir) ; \ + CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" gtkdoc-scangobj $(SCANOBJ_OPTIONS) --module=$(MODULE) --output-dir=$(srcdir) ; \ else \ - for i in $(SCANOBJ_FILES) ; do \ - test -f $$i || touch $$i ; \ - done \ + cd $(srcdir) ; \ + for i in $(SCANOBJ_FILES) ; do \ + test -f $$i || touch $$i ; \ + done \ fi -@gtkdoc-scan --module=$(MODULE) \ - --source-dir=$(DOC_SOURCE_DIR)/lasso/base + --source-dir=$(DOC_SOURCE_DIR)/lasso/ $(MODULE)-decl.txt $(SCANOBJ_FILES): scan @true # # Prepare source files by coping them to "code" folder and -# removing LASSO_EXPORT_* stuff that makes gtkdoc crazy +# removing LASSO_EXPORT* stuff that makes gtkdoc crazy # doc_sources: $(DOC_SOURCE_FILES) + @echo '*** Prepare sources ***' @(for i in $(DOC_SOURCE_FILES) ; do \ folder_name=`echo $$i | sed 's#$(TOP)/##' | sed 's#/[^/]*$$##'`; \ file_name=`echo $$i | sed 's#.*/##'`; \ @@ -108,14 +117,15 @@ doc_sources: $(DOC_SOURCE_FILES) sed 's/LASSO_EXPORT//' > \ $(DOC_SOURCE_DIR)/$$folder_name/$$file_name; \ done); - -@mkdir -p $(DOC_SOURCE_DIR)/lasso/base - -@mv -f $(DOC_SOURCE_DIR)/lasso/*.c $(DOC_SOURCE_DIR)/lasso/base +# -@mkdir -p $(DOC_SOURCE_DIR)/lasso +# -@mv -f $(DOC_SOURCE_DIR)/lasso/*.c $(DOC_SOURCE_DIR)/lasso/base # # Create index for all functions. For macros and defines need to add -CAPS suffix # lasso-index: scan - @grep -h '.*' lasso-*decl.txt | \ + @echo '*** Create functions index ***' + @grep -h '.*' $(MODULE)-*decl.txt | \ grep -v 'extern' | \ sort -u | \ sed 's#_#-#g' | \ diff --git a/docs/reference/lasso.sgml b/docs/reference/lasso.sgml index b2ad7b2a..09bc4a38 100644 --- a/docs/reference/lasso.sgml +++ b/docs/reference/lasso.sgml @@ -1,63 +1,113 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]> - Lasso Library Reference Manual + [Insert name here] Reference Manual - Liberty Alliance - &LibAssertion; - &LibAuthnRequest; - &LibAuthnResponse; - &LibIDPEntries; - &LibIDPEntry; - &LibIDPList; - &LibRequestAuthnContext; - &LibScoping; - + [Insert title here] + &lasso-LassoDsSignature; + &LassoLibAssertion; + &LassoLibAuthnRequest; + &LassoLibAuthnResponse; + &lasso-LassoLibIDPEntries; + &lasso-LassoLibIDPEntry; + &lasso-LassoLibIDPList; + &LassoLibRequestAuthnContext; + &LassoLibScoping; + &LassoSamlAdvice; + &LassoSamlAssertion; + &lasso-LassoSamlAudienceRestrictionCondition; + &lasso-LassoSamlAuthenticationStatement; + &lasso-LassoSamlAuthorityBinding; + &lasso-LassoSamlConditionAbstract; + &lasso-LassoSamlConditions; + &LassoSamlNameIdentifier; + &LassoSamlStatementAbstract; + &LassoSamlSubject; + &LassoSamlSubjectConfirmation; + &lasso-LassoSamlSubjectLocality; + &LassoSamlSubjectStatementAbstract; + &LassoSamlpRequestAbstract; + &LassoSamlpResponse; + &LassoSamlpResponseAbstract; + &LassoSamlpStatus; + &LassoSamlpStatusCode; &LassoNode; + &lasso-LassoLibLogoutRequest; + &lasso-LassoLibFederationTerminationNotification; + &lasso-LassoLibIDPProvidedNameIdentifier; + &lasso-LassoLibLogoutResponse; + &lasso-LassoLibNameIdentifierMappingRequest; + &lasso-LassoLibNameIdentifierMappingResponse; + &lasso-LassoLibOLDProvidedNameIdentifier; + &lasso-LassoLibRegisterNameIdentifierRequest; + &lasso-LassoLibRegisterNameIdentifierResponse; + &lasso-LassoLibSPProvidedNameIdentifier; + &lasso-LassoLibStatusResponse; + &lasso-LassoLibSubject; + &lasso-LassoSamlpRequest; + &lasso-LassoLibAuthnContext; + &lasso-LassoLibAuthenticationStatement; + &lasso-export; &lasso-lasso; &lasso-version; - - - - Saml - &SamlAdvice; - &SamlAssertion; - &SamlNameIdentifier; - &SamlStatementAbstract; - &SamlSubject; - &SamlSubjectConfirmation; - &SamlSubjectStatementAbstract; - &SamlpRequestAbstract; - &SamlpResponse; - &SamlpResponseAbstract; - &SamlpStatus; - &SamlpStatusCode; + &lasso-single-sign-on-and-federation; + &lasso-federation-termination-notification; + &lasso-logout; + &lasso-register-name-identifier; + &lasso-tools; diff --git a/docs/reference/lasso.types b/docs/reference/lasso.types index eeb48f07..026ec03c 100644 --- a/docs/reference/lasso.types +++ b/docs/reference/lasso.types @@ -1,19 +1,19 @@ #include -lib_assertion_get_type -lib_authn_request_get_type -lib_authn_response_get_type -lib_request_authn_context_get_type -lib_scoping_get_type -saml_advice_get_type -saml_assertion_get_type -saml_name_identifier_get_type -saml_statement_abstract_get_type -saml_subject_get_type -saml_subject_confirmation_get_type -saml_subject_statement_abstract_get_type -samlp_request_abstract_get_type -samlp_response_get_type -samlp_response_abstract_get_type -samlp_status_get_type -samlp_status_code_get_type +lasso_lib_assertion_get_type +lasso_lib_authn_request_get_type +lasso_lib_authn_response_get_type +lasso_lib_request_authn_context_get_type +lasso_lib_scoping_get_type +lasso_saml_advice_get_type +lasso_saml_assertion_get_type +lasso_saml_name_identifier_get_type +lasso_saml_statement_abstract_get_type +lasso_saml_subject_get_type +lasso_saml_subject_confirmation_get_type +lasso_saml_subject_statement_abstract_get_type +lasso_samlp_request_abstract_get_type +lasso_samlp_response_get_type +lasso_samlp_response_abstract_get_type +lasso_samlp_status_get_type +lasso_samlp_status_code_get_type -- cgit