Ignore:
Timestamp:
Feb 12, 2015, 5:01:11 PM (9 years ago)
Author:
djay
Message:

Add initial doxygen comments in some C files, for future documentation generation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/service_internal.h

    r578 r579  
    1 /**
     1/*
    22 * Author : Gérald FENOY
    33 *
     
    2828#pragma once
    2929
     30/**
     31 * The default service url (overriden by serverAddress)
     32 */
    3033#define DEFAULT_SERVICE_URL "http://www.zoo-project.org/"
     34/**
     35 * The time size
     36 */
    3137#define TIME_SIZE 40
    3238
    3339#include <libintl.h>
    3440#include <locale.h>
     41/**
     42 * ZOO-Kernel internal messages translation function
     43 */
    3544#define _(String) dgettext ("zoo-kernel",String)
     45/**
     46 * ZOO-Services messages translation function
     47 */
    3648#define _ss(String) dgettext ("zoo-services",String)
    3749
     50/**
     51 * ZOO-Kernel was unable to create a lock
     52 */
    3853#define ZOO_LOCK_CREATE_FAILED -4
     54/**
     55 * ZOO-Kernel was unable to acquire a lock
     56 */
    3957#define ZOO_LOCK_ACQUIRE_FAILED -5
     58/**
     59 * ZOO-Kernel was unable to release a lock
     60 */
    4061#define ZOO_LOCK_RELEASE_FAILED -6
    4162
     
    89110#include <libxml/xpath.h>
    90111
     112  /**
     113   * Maximum number of XML namespaces
     114   */
     115#define ZOO_NS_MAX 10
     116  /**
     117   * Maximum number of XML docs
     118   */
     119#define ZOO_DOC_MAX 20
     120
     121  /**
     122   * Global char* to store the serverAddress value of the mmmmmain section
     123   */
    91124  static char* SERVICE_URL;
    92   static xmlNsPtr usedNs[10];
    93   static char* nsName[10];
    94   static xmlDocPtr iDocs[10];
     125  /**
     126   * Array of xmlNsPtr storing all used XML namespace
     127   */
     128  static xmlNsPtr usedNs[ZOO_NS_MAX];
     129  /**
     130   * Array storing names of the used XML namespace
     131   */
     132  static char* nsName[ZOO_NS_MAX];
     133  /**
     134   * Number of XML namespaces
     135   */
    95136  static int nbNs=0;
     137  /**
     138   * Array of xmlDocPtr storing XML docs
     139   */
     140  static xmlDocPtr iDocs[ZOO_DOC_MAX];
     141  /**
     142   * Number of XML docs
     143   */
    96144  static int nbDocs=0;
    97145
     
    107155  char* getStatus(int);
    108156  int removeShmLock(maps*, int);
     157  /**
     158   * Cross platform type used for Lock identifier
     159   */
    109160#ifndef WIN32
    110161#define semid int
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png