From: Joe Orton
This bit of code lets the server know that we have now registered a new module
in the system, and that its name is example_module
. The name
-of the module is used primarily for two things:
+of the module is used primarily for three things:
For now, we're only concerned with the first purpose of the module name, @@ -188,7 +189,7 @@ definition will look like this:
To create a module DLL, a small change is necessary to the
module's source file: The module record must be exported from
the DLL (which will be created later; see below). To do this,
- add the AP_MODULE_DECLARE_DATA
(defined in the
+ add the AP_DECLARE_MODULE
(defined in the
Apache httpd header files) to your module's module record definition.
For example, if your module has:
Replace the above with:
Note that this will only be activated on Windows, so the
diff --git a/docs/manual/mod/mod_so.xml.fr b/docs/manual/mod/mod_so.xml.fr
index bccda635461..d4cf8cdf8b0 100644
--- a/docs/manual/mod/mod_so.xml.fr
+++ b/docs/manual/mod/mod_so.xml.fr
@@ -100,7 +100,7 @@ Windows
modification à son fichier source : l'enregistrement du module doit
être exporté depuis la DLL (qui sera elle-même créée plus tard ;
voir plus loin). Pour ce faire, ajoutez la macro
- AP_MODULE_DECLARE_DATA
(définie dans les fichiers
+ AP_DECLARE_MODULE
(définie dans les fichiers
d'en-têtes d'Apache httpd) à la définition de l'enregistrement de votre
module. Par exemple, si votre module est déclaré comme suit :
Remplacez cette ligne par :
Notez que cette macro ne sera prise en compte que sous Windows,
diff --git a/docs/manual/mod/mod_so.xml.ja b/docs/manual/mod/mod_so.xml.ja
index b3854b93ca2..8fde679be69 100644
--- a/docs/manual/mod/mod_so.xml.ja
+++ b/docs/manual/mod/mod_so.xml.ja
@@ -90,7 +90,7 @@
ã¢ã¸ã¥ã¼ã«ã®ä½æã«å°ããªå¤æ´ãè¡ãªãå¿
è¦ãããã¾ãã
ã¤ã¾ããã¢ã¸ã¥ã¼ã«ã®ã¬ã³ã¼ã (ããã¯å¾ã§ä½æããã¾ãã
以ä¸ãåç
§ãã¦ãã ãã) ã DLL ããã¨ã¯ã¹ãã¼ããããªããã°ãªãã¾ããã
- ãããè¡ãªãã«ã¯ãAP_MODULE_DECLARE_DATA
(Apache httpd
+ ãããè¡ãªãã«ã¯ãAP_DECLARE_MODULE
(Apache httpd
ã®ããããã¡ã¤ã«ã§å®ç¾©ããã¦ãã¾ã) ãã¢ã¸ã¥ã¼ã«ã®ã¢ã¸ã¥ã¼ã«ã¬ã³ã¼ã
å®ç¾©ã®é¨åã«è¿½å ãã¦ãã ããããã¨ãã°ãã¢ã¸ã¥ã¼ã«ã«
ãããã¨ããã¨ããããæ¬¡ã®ãã®ã§ç½®ãæãã¦ãã ããã
Unix ä¸ã§ããã®ã¢ã¸ã¥ã¼ã«ã diff --git a/docs/manual/mod/mod_so.xml.ko b/docs/manual/mod/mod_so.xml.ko index e19ca8ff1d9..38235b424f2 100644 --- a/docs/manual/mod/mod_so.xml.ko +++ b/docs/manual/mod/mod_so.xml.ko @@ -77,7 +77,7 @@
¸ðµâ DLLÀ» ¸¸µé±âÀ§Çؼ´Â ¸ðµâÀÇ ¼Ò½ºÆÄÀÏÀ» Á¶±Ý ¼öÁ¤Çؾß
ÇÑ´Ù. DLLÀº module record¸¦ exportÇØ¾ß ÇÑ´Ù. (¾Æ·¡ Âü°í)
À̸¦ À§ÇØ ¸ðµâÀÇ module record Á¤ÀÇ¿¡ (¾ÆÆÄÄ¡ Çì´õÆÄÀÏ¿¡
- Á¤ÀǵÈ) AP_MODULE_DECLARE_DATA
¸¦ Ãß°¡ÇÑ´Ù.
+ Á¤ÀǵÈ) AP_DECLARE_MODULE
¸¦ Ãß°¡ÇÑ´Ù.
¿¹¸¦ µé¾î, ´ÙÀ½°ú °°Àº ¸ðµâÀÌ ÀÖ´Ù¸é:
´ÙÀ½°ú °°ÀÌ ¼öÁ¤ÇÑ´Ù:
ÀÌ ºÎºÐÀº À©µµ¿ìÁî¿¡¼¸¸ »ç¿ëÇϱ⶧¹®¿¡ º¯°æÇÏ¿©µµ À¯´Ð½º¿¡¼
diff --git a/docs/manual/mod/mod_so.xml.tr b/docs/manual/mod/mod_so.xml.tr
index 4a5e751f487..73396d8c813 100644
--- a/docs/manual/mod/mod_so.xml.tr
+++ b/docs/manual/mod/mod_so.xml.tr
@@ -91,7 +91,7 @@ yeniden baÅlatılması sırasında yüklenmesini saÄlar.
deÄiÅiklik yapmak gerekir: Modül kaydının daha sonra oluÅturulacak olan
DLLâden ihraç edilebilmesi gerekir (aÅaÄıya bakınız). Bunu yapmak için
modülün modül kaydı tanımına (Apache httpd baÅlık dosyalarında
- tanımlanmıŠolan) AP_MODULE_DECLARE_DATA
eklenmelidir.
+ tanımlanmıŠolan) AP_DECLARE_MODULE
eklenmelidir.
ÃrneÄin, modülünüz
diye bir satır içeriyorsa bunu,
olarak deÄiÅtirmelisiniz. Bunun yalnız Windows üzerinde etkili olduÄunu